Mercurial > public > ostc4
diff Small_CPU/Src/scheduler.c @ 928:9b7859554beb Evo_2_23 tip
Cleanup Internal Uart:
The compile switches have been updated to allow GNSS data flow if new GPIO config is available or if GNSS is enabled for the external UART.
author | Ideenmodellierer |
---|---|
date | Tue, 26 Nov 2024 21:30:06 +0100 |
parents | 7c996354b8ac |
children |
line wrap: on
line diff
--- a/Small_CPU/Src/scheduler.c Tue Nov 26 21:01:13 2024 +0100 +++ b/Small_CPU/Src/scheduler.c Tue Nov 26 21:30:06 2024 +0100 @@ -881,11 +881,8 @@ { adc_ambient_light_sensor_get_data(); copyAmbientLightData(); -#ifdef ENABLE_GNSS - uartGnss_ProcessData(); - uartGnss_Control(); -#endif -#ifdef ENABLE_GNSS_SUPPORT + +#if defined ENABLE_GNSS_SUPPORT || defined ENABLE_GPIO_V2 copyGNSSdata(); #endif Scheduler.counterAmbientLight100msec++;