Mercurial > public > ostc4
diff Small_CPU/Src/baseCPU2.c @ 943:e7f87ade3037 Evo_2_23
Added missing compile switches
author | Ideenmodellierer |
---|---|
date | Mon, 16 Dec 2024 19:33:20 +0100 |
parents | 06aaccaf2e02 |
children |
line wrap: on
line diff
--- a/Small_CPU/Src/baseCPU2.c Mon Dec 16 19:09:00 2024 +0100 +++ b/Small_CPU/Src/baseCPU2.c Mon Dec 16 19:33:20 2024 +0100 @@ -460,9 +460,9 @@ global.no_fly_time_minutes = 0; global.lifeData.dive_time_seconds = 0; global.lifeData.dive_time_seconds_without_surface_time = 0; - +#if defined ENABLE_GNSS_SUPPORT || defined ENABLE_GPIO_V2 uartGnss_ReqPowerDown(1); - +#endif scheduleDiveMode(); // done now in scheduler prior to change mode: global.seconds_since_last_dive = 1; @@ -488,8 +488,9 @@ backup.no_fly_time_minutes = 0; backup.seconds_since_last_dive = 0; - +#if defined ENABLE_GNSS_SUPPORT || defined ENABLE_GPIO_V2 uartGnss_ReqPowerDown(0); +#endif break; case MODE_SHUTDOWN: