diff Discovery/Inc/tStructure.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 9b418e63dbc2
children 5a690195b6b7
line wrap: on
line diff
--- a/Discovery/Inc/tStructure.h	Sun Apr 06 21:02:17 2025 +0200
+++ b/Discovery/Inc/tStructure.h	Tue Apr 08 15:10:14 2025 +0200
@@ -390,9 +390,7 @@
 #define StMCustom5_CViewPortAmbient	_MB(2,9,5,4,0)
 #define StMCustom5_CViewPortControl	_MB(2,9,5,5,0)
 #endif
-#ifdef ENABLE_GPIO_V2
 #define StMCustom5_CViewWarningBuz	_MB(2,9,5,1,0)
-#endif
 
 /* PAGE 10 */
 #define StMPLAN		_MB(2,10,0,0,0)