comparison Discovery/Src/tMenuEditHardware.c @ 949:c6b858f2e025 Evo_2_23 tip

GNSS UTC in Date-Time menu: The UTC time provided by the gnss module is not shown in the date-time settings menu. If a valid time signal is available then the OSTC RTC may be set to it by selecting the UTC menu entry. The time zone has to be selected manually. This is possible using a separate edit line.
author Ideenmodellierer
date Sun, 22 Dec 2024 21:19:21 +0100
parents 25948e805406
children
comparison
equal deleted inserted replaced
948:abdd72c8b567 949:c6b858f2e025
156 GFX_build_hw_background_frame(); 156 GFX_build_hw_background_frame();
157 157
158 exitEditWithUpdate(); 158 exitEditWithUpdate();
159 exitMenuEdit_to_Home(); 159 exitMenuEdit_to_Home();
160 } 160 }
161
162
163 static uint8_t togglePlusMinus(uint8_t input)
164 {
165 if (input == '+') {
166 return '-';
167 } else {
168 return '+';
169 }
170 }
171
172 161
173 static uint8_t OnAction_CompassDeclination(uint32_t editId, uint8_t blockNumber, uint8_t digitNumber, uint8_t digitContent, uint8_t action) 162 static uint8_t OnAction_CompassDeclination(uint32_t editId, uint8_t blockNumber, uint8_t digitNumber, uint8_t digitContent, uint8_t action)
174 { 163 {
175 SSettings *settings = settingsGetPointer(); 164 SSettings *settings = settingsGetPointer();
176 uint8_t digitContentNew; 165 uint8_t digitContentNew;