diff Discovery/Src/data_exchange_main.c @ 927:908d9a8e8c84 Evo_2_23

Cleanup Internal Uart: The internal UART was using the wrong UART RX channel. In addition 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:01:13 +0100
parents 4d98fb2a178e
children
line wrap: on
line diff
--- a/Discovery/Src/data_exchange_main.c	Thu Nov 14 20:13:18 2024 +0100
+++ b/Discovery/Src/data_exchange_main.c	Tue Nov 26 21:01:13 2024 +0100
@@ -411,7 +411,7 @@
 				break;
 			case SENSOR_CO2:	SensorActive[SENSOR_CO2] = 1;
 				break;
-#ifdef ENABLE_GNSS_SUPPORT
+#if defined ENABLE_GPIO_V2 || defined ENABLE_GNSS_SUPPORT
 			case SENSOR_GNSS:	SensorActive[SENSOR_GNSS] = 1;
 				break;
 #endif