Mercurial > public > ostc4
diff Common/Inc/configuration.h @ 989:c317130aaafc 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 | Tue, 08 Apr 2025 15:10:14 +0200 (3 weeks ago) |
parents | 12426391edd9 |
children | c386ae6635e4 |
line wrap: on
line diff
--- a/Common/Inc/configuration.h Sun Apr 06 21:02:17 2025 +0200 +++ b/Common/Inc/configuration.h Tue Apr 08 15:10:14 2025 +0200 @@ -72,8 +72,11 @@ /* Enable to have CO2 sensor functionality available */ #define ENABLE_CO2_SUPPORT -/* Enable to have GPS sensor functionality available */ -/* #define ENABLE_GNSS_SUPPORT */ +/* Enable to have external GPS sensor functionality available */ +/* #define ENABLE_GNSS_EXTERN */ + +/* Enable to have internal (OSTC5) GPS sensor functionality available */ +#define ENABLE_GNSS_INTERN /* Enable to have Sentinel rebreather interface available */ /* #define ENABLE_SENTINEL_MODE */ @@ -90,9 +93,6 @@ /* Enable to have a faster transfer speed between bluetooth module and CPU */ #define ENABLE_FAST_COMM -/* Enable to have position sensor support active */ -/* #define ENABLE_GPIO_V2 */ - /* Enable RTE sleep mode debugging */ /* #define ENABLE_SLEEP_DEBUG */