Mercurial > public > ostc4
diff Discovery/Src/tMenuEditCvOption.c @ 1037:2af07aa38531 GasConsumption
Merge with external development branches:
Some features have been prepared for integration: Profiles, DMA UART on Firmware part, Bluetooth discovery and messges logging for development phase. All these new function are deactivated by compile switch and may be activated using the configuration.h for testing purpose.
| author | Ideenmodellierer |
|---|---|
| date | Mon, 15 Sep 2025 21:12:44 +0200 |
| parents | 195bfbdf961d |
| children |
line wrap: on
line diff
--- a/Discovery/Src/tMenuEditCvOption.c Sun Sep 07 20:44:35 2025 +0200 +++ b/Discovery/Src/tMenuEditCvOption.c Mon Sep 15 21:12:44 2025 +0200 @@ -35,6 +35,8 @@ #include "tMenuEdit.h" #include "tHome.h" +#include "cv_heartbeat.h" + /* Private function prototypes -----------------------------------------------*/ static void openEdit_Timer(void); void openEdit_Compass(void); @@ -56,13 +58,15 @@ switch(line) { case 1: - default: - resetMenuEdit(CLUT_MenuPageHardware); - openEdit_Compass(); - break; - case 2: - openEdit_Timer(); - break; + default: resetMenuEdit(CLUT_MenuPageHardware); + openEdit_Compass(); + break; + case 2: openEdit_Timer(); + break; +#ifdef ENABLE_PULSE_SENSOR_BT + case 3: openEdit_Heartbeat(); +#endif + break; } }
