comparison 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
comparison
equal deleted inserted replaced
773:2c243233c999 774:6169309d6eb9
483 483
484 set_globalState(StD); 484 set_globalState(StD);
485 485
486 break; 486 break;
487 case StDBEAR: // t5_gauge 487 case StDBEAR: // t5_gauge
488 stateUsedWrite->diveSettings.compassHeading = (uint16_t)stateUsed->lifeData.compass_heading; 488 setCompassHeading((uint16_t)stateUsed->lifeData.compass_heading);
489 set_globalState(StD); 489 set_globalState(StD);
490 break; 490 break;
491 491
492 case StDRAVG: // t5_gauge 492 case StDRAVG: // t5_gauge
493 timer_Stopwatch_Restart(); 493 timer_Stopwatch_Restart();