kopia lustrzana https://github.com/sq2ips/m20-custom-firmware
Fixed typos
rodzic
7a1121b612
commit
cc980a3264
|
@ -61,7 +61,7 @@ XMDATA GpsData;
|
||||||
|
|
||||||
#ifdef GPS_WATCHDOG
|
#ifdef GPS_WATCHDOG
|
||||||
uint8_t GpsWatchdogCounter = 0;
|
uint8_t GpsWatchdogCounter = 0;
|
||||||
bool GpsPreviuosFix = false;
|
bool GpsPreviousFix = false;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
uint8_t lps_init;
|
uint8_t lps_init;
|
||||||
|
@ -253,7 +253,7 @@ void main_loop(void) {
|
||||||
if (GpsWatchdogCounter >= GPS_WATCHDOG) {
|
if (GpsWatchdogCounter >= GPS_WATCHDOG) {
|
||||||
LL_GPIO_ResetOutputPin(GPS_ON_GPIO_Port, GPS_ON_Pin); // disable GPS
|
LL_GPIO_ResetOutputPin(GPS_ON_GPIO_Port, GPS_ON_Pin); // disable GPS
|
||||||
for(uint8_t i = 0; i<10; i++){
|
for(uint8_t i = 0; i<10; i++){
|
||||||
LL_Delay(100);
|
LL_mDelay(100);
|
||||||
LL_IWDG_ReloadCounter(IWDG);
|
LL_IWDG_ReloadCounter(IWDG);
|
||||||
}
|
}
|
||||||
LL_GPIO_ResetOutputPin(GPS_ON_GPIO_Port, GPS_ON_Pin); // enable GPS
|
LL_GPIO_ResetOutputPin(GPS_ON_GPIO_Port, GPS_ON_Pin); // enable GPS
|
||||||
|
|
Ładowanie…
Reference in New Issue