payload-adc
sq2ips 2025-07-25 11:12:41 +02:00
rodzic 7a1121b612
commit cc980a3264
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -61,7 +61,7 @@ XMDATA GpsData;
#ifdef GPS_WATCHDOG
uint8_t GpsWatchdogCounter = 0;
bool GpsPreviuosFix = false;
bool GpsPreviousFix = false;
#endif
uint8_t lps_init;
@ -253,7 +253,7 @@ void main_loop(void) {
if (GpsWatchdogCounter >= GPS_WATCHDOG) {
LL_GPIO_ResetOutputPin(GPS_ON_GPIO_Port, GPS_ON_Pin); // disable GPS
for(uint8_t i = 0; i<10; i++){
LL_Delay(100);
LL_mDelay(100);
LL_IWDG_ReloadCounter(IWDG);
}
LL_GPIO_ResetOutputPin(GPS_ON_GPIO_Port, GPS_ON_Pin); // enable GPS