comparison Small_CPU/Src/uartProtocol_GNSS.c @ 988:d9290c76b840 GasConsumption

OSTC4/5 joined code: In the previous version code differences between OSTC4/5 were identified using the ENABLE_GPIO_V2 compiler switch. In the new version this is done using the display version as indicator which OSTC model is in used. Since this is detected by Firmware the information is forwarded from there to the RTE. This causes a little delay in the GPIO initialization but this applies only to the cold start of the RTE which should not happen very often.
author ideenmodellierer
date Sun, 06 Apr 2025 21:02:17 +0200 (13 days ago)
parents 9b29995d6619
children
comparison
equal deleted inserted replaced
984:41136649b90d 988:d9290c76b840
26 #include "GNSS.h" 26 #include "GNSS.h"
27 #include "configuration.h" 27 #include "configuration.h"
28 #include "externalInterface.h" 28 #include "externalInterface.h"
29 29
30 30
31 #if defined ENABLE_GNSS || defined ENABLE_GNSS_SUPPORT || defined ENABLE_GPIO_V2 31 #if defined ENABLE_GNSS_INTERN || defined ENABLE_GNSS_EXTERN
32 32
33 static uartGnssStatus_t gnssState = UART_GNSS_INIT; 33 static uartGnssStatus_t gnssState = UART_GNSS_INIT;
34 static gnssRequest_s activeRequest = {0,0}; 34 static gnssRequest_s activeRequest = {0,0};
35 35
36 static receiveStateGnss_t rxState = GNSSRX_READY; 36 static receiveStateGnss_t rxState = GNSSRX_READY;