Skip to content

Commit 64446d2

Browse files
kartbenhenrikbrixandersen
authored andcommitted
drivers: gnss: emul: increase GNSS_EMUL_MIN_FIX_INTERVAL_MS
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é <benjamin@zephyrproject.org>
1 parent 87e3e1f commit 64446d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/gnss/gnss_emul.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ LOG_MODULE_REGISTER(gnss_emul, CONFIG_GNSS_LOG_LEVEL);
2222
#define DT_DRV_COMPAT zephyr_gnss_emul
2323

2424
#define GNSS_EMUL_DEFAULT_FIX_INTERVAL_MS 1000
25-
#define GNSS_EMUL_MIN_FIX_INTERVAL_MS 100
25+
#define GNSS_EMUL_MIN_FIX_INTERVAL_MS 200
2626
#define GNSS_EMUL_FIX_ACQUIRE_TIME_MS 5000
2727
#define GNSS_EMUL_DEFAULT_NAV_MODE GNSS_NAVIGATION_MODE_BALANCED_DYNAMICS
2828
#define GNSS_EMUL_SUPPORTED_SYSTEMS_MASK 0xFF

0 commit comments

Comments
 (0)