From 64446d2f6774ed0d695f961e19b951cd1144151d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20Cab=C3=A9?= Date: Fri, 13 Jun 2025 10:45:19 +0200 Subject: [PATCH] drivers: gnss: emul: increase GNSS_EMUL_MIN_FIX_INTERVAL_MS MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Make the GNSS emul driver less capable w.r.t fix interval so that we can exercise more error paths if e.g. user requests a fix interval of 100ms. Signed-off-by: Benjamin Cabé --- drivers/gnss/gnss_emul.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gnss/gnss_emul.c b/drivers/gnss/gnss_emul.c index 107facd8fa6..ac1761d84c8 100644 --- a/drivers/gnss/gnss_emul.c +++ b/drivers/gnss/gnss_emul.c @@ -22,7 +22,7 @@ LOG_MODULE_REGISTER(gnss_emul, CONFIG_GNSS_LOG_LEVEL); #define DT_DRV_COMPAT zephyr_gnss_emul #define GNSS_EMUL_DEFAULT_FIX_INTERVAL_MS 1000 -#define GNSS_EMUL_MIN_FIX_INTERVAL_MS 100 +#define GNSS_EMUL_MIN_FIX_INTERVAL_MS 200 #define GNSS_EMUL_FIX_ACQUIRE_TIME_MS 5000 #define GNSS_EMUL_DEFAULT_NAV_MODE GNSS_NAVIGATION_MODE_BALANCED_DYNAMICS #define GNSS_EMUL_SUPPORTED_SYSTEMS_MASK 0xFF