diff Discovery/Src/tHome.c @ 774:6169309d6eb9

more menu items for the compass menu: Delete bearing, and reset to land based bearing. I have also re-enabled the real time bearing display in the menu - makes it easier to set the correct bearing. (mikeller)
author heinrichsweikamp
date Wed, 10 May 2023 16:25:39 +0200
parents 2c243233c999
children 46c6d2380d4e
line wrap: on
line diff
--- a/Discovery/Src/tHome.c	Wed May 10 16:24:57 2023 +0200
+++ b/Discovery/Src/tHome.c	Wed May 10 16:25:39 2023 +0200
@@ -485,7 +485,7 @@
 
             break;
         case StDBEAR: // t5_gauge
-        	stateUsedWrite->diveSettings.compassHeading = (uint16_t)stateUsed->lifeData.compass_heading;
+            setCompassHeading((uint16_t)stateUsed->lifeData.compass_heading);
             set_globalState(StD);
             break;