# HG changeset patch # User Ideenmodellierer # Date 1734374000 -3600 # Node ID e7f87ade30374a8ae503c7a99873d16afb56d877 # Parent 06aaccaf2e029511cbadf895941651e48e8fb9e8 Added missing compile switches diff -r 06aaccaf2e02 -r e7f87ade3037 Small_CPU/Src/baseCPU2.c --- 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: