Mercurial > public > ostc4
diff Small_CPU/Src/gpio.c @ 1000:c386ae6635e4 GasConsumption
Improve GNSS operation:
during OSTC 4/5 code merge a problem with the wakeup of the gnss module showed up which has been fixed with the new verion. In addition a compile switch has been added which activated the synchronization of time between OSTC and gnss module. This my cause problems if the time is not accurate => deactivated at the moment.
| author | Ideenmodellierer |
|---|---|
| date | Mon, 28 Apr 2025 19:51:36 +0200 |
| parents | bad5561c0c59 |
| children | 9fabad6436a2 |
line wrap: on
line diff
--- a/Small_CPU/Src/gpio.c Mon Apr 28 19:47:41 2025 +0200 +++ b/Small_CPU/Src/gpio.c Mon Apr 28 19:51:36 2025 +0200 @@ -181,6 +181,8 @@ void GPIO_Activate_V2(void) { + if(GPIO_Version == 0) + { GPIO_Version = 1; GPIO_LEDs_VIBRATION_Init(); @@ -191,6 +193,7 @@ MX_USART6_UART_Init(); GNSS_Init(&GNSS_Handle, &huart6); #endif + } } /* Private functions ---------------------------------------------------------*/
