Mercurial > public > ostc4
changeset 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 | 908d9a8e8c84 |
children | |
files | Small_CPU/Src/scheduler.c |
diffstat | 1 files changed, 2 insertions(+), 5 deletions(-) [+] |
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++;