comparison Small_CPU/Src/uartProtocol_GNSS.c @ 946:80ae8ea7f0a0 Evo_2_23

GNSS set to full power at startup: In case of an reset the module would continue in sleep mode if it was in this state. To avoid this the module will now always set to full power at startup of the RTE.
author Ideenmodellierer
date Sun, 22 Dec 2024 20:52:08 +0100
parents f41974734268
children
comparison
equal deleted inserted replaced
945:aad1a6b9aaec 946:80ae8ea7f0a0
287 case UART_GNSS_LOADCONF_0: 287 case UART_GNSS_LOADCONF_0:
288 case UART_GNSS_LOADCONF_1: gnssState++; 288 case UART_GNSS_LOADCONF_1: gnssState++;
289 break; 289 break;
290 case UART_GNSS_LOADCONF_2: gnssState = UART_GNSS_SETMODE_MOBILE; 290 case UART_GNSS_LOADCONF_2: gnssState = UART_GNSS_SETMODE_MOBILE;
291 break; 291 break;
292 case UART_GNSS_SETMODE_MOBILE: gnssState = UART_GNSS_IDLE; 292 case UART_GNSS_SETMODE_MOBILE: gnssState = UART_GNSS_PWRUP;
293 break; 293 break;
294 default: 294 default:
295 break; 295 break;
296 } 296 }
297 GnssConnected = 1; 297 GnssConnected = 1;