Mercurial > public > ostc4
comparison 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 (4 weeks ago) |
parents | 12426391edd9 |
children | c386ae6635e4 |
comparison
equal
deleted
inserted
replaced
988:d9290c76b840 | 989:c317130aaafc |
---|---|
70 #define ENABLE_PSCR_MODE | 70 #define ENABLE_PSCR_MODE |
71 | 71 |
72 /* Enable to have CO2 sensor functionality available */ | 72 /* Enable to have CO2 sensor functionality available */ |
73 #define ENABLE_CO2_SUPPORT | 73 #define ENABLE_CO2_SUPPORT |
74 | 74 |
75 /* Enable to have GPS sensor functionality available */ | 75 /* Enable to have external GPS sensor functionality available */ |
76 /* #define ENABLE_GNSS_SUPPORT */ | 76 /* #define ENABLE_GNSS_EXTERN */ |
77 | |
78 /* Enable to have internal (OSTC5) GPS sensor functionality available */ | |
79 #define ENABLE_GNSS_INTERN | |
77 | 80 |
78 /* Enable to have Sentinel rebreather interface available */ | 81 /* Enable to have Sentinel rebreather interface available */ |
79 /* #define ENABLE_SENTINEL_MODE */ | 82 /* #define ENABLE_SENTINEL_MODE */ |
80 | 83 |
81 /* Enable if you are using sensors with a voltage range 8..16 mV at surface / air level */ | 84 /* Enable if you are using sensors with a voltage range 8..16 mV at surface / air level */ |
88 /* #define ENABLE_PREDIVE_CHECK */ | 91 /* #define ENABLE_PREDIVE_CHECK */ |
89 | 92 |
90 /* Enable to have a faster transfer speed between bluetooth module and CPU */ | 93 /* Enable to have a faster transfer speed between bluetooth module and CPU */ |
91 #define ENABLE_FAST_COMM | 94 #define ENABLE_FAST_COMM |
92 | 95 |
93 /* Enable to have position sensor support active */ | |
94 /* #define ENABLE_GPIO_V2 */ | |
95 | |
96 /* Enable RTE sleep mode debugging */ | 96 /* Enable RTE sleep mode debugging */ |
97 /* #define ENABLE_SLEEP_DEBUG */ | 97 /* #define ENABLE_SLEEP_DEBUG */ |
98 | 98 |
99 | 99 |
100 #endif | 100 #endif |