From cecd01e03d973c6603b7373c28cd12b6cc12bc7c Mon Sep 17 00:00:00 2001 From: Federico Amedeo Izzo Date: Tue, 16 Feb 2021 22:44:21 +0100 Subject: [PATCH] GPS: workaround: Move settings above gps_data to avoid settings corruption caused by gps_data overflow --- openrtx/include/state.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openrtx/include/state.h b/openrtx/include/state.h index e2806569..d770a14d 100644 --- a/openrtx/include/state.h +++ b/openrtx/include/state.h @@ -93,8 +93,8 @@ typedef struct uint8_t voxLevel; bool emergency; - gps_t gps_data; settings_t settings; + gps_t gps_data; } state_t;