comparison 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
comparison
equal deleted inserted replaced
1029:e938901f6386 1037:2af07aa38531
32 32
33 #include "gfx_fonts.h" 33 #include "gfx_fonts.h"
34 #include "ostc.h" 34 #include "ostc.h"
35 #include "tMenuEdit.h" 35 #include "tMenuEdit.h"
36 #include "tHome.h" 36 #include "tHome.h"
37
38 #include "cv_heartbeat.h"
37 39
38 /* Private function prototypes -----------------------------------------------*/ 40 /* Private function prototypes -----------------------------------------------*/
39 static void openEdit_Timer(void); 41 static void openEdit_Timer(void);
40 void openEdit_Compass(void); 42 void openEdit_Compass(void);
41 43
54 set_globalState_Menu_Line(line); 56 set_globalState_Menu_Line(line);
55 57
56 switch(line) 58 switch(line)
57 { 59 {
58 case 1: 60 case 1:
59 default: 61 default: resetMenuEdit(CLUT_MenuPageHardware);
60 resetMenuEdit(CLUT_MenuPageHardware); 62 openEdit_Compass();
61 openEdit_Compass(); 63 break;
62 break; 64 case 2: openEdit_Timer();
63 case 2: 65 break;
64 openEdit_Timer(); 66 #ifdef ENABLE_PULSE_SENSOR_BT
65 break; 67 case 3: openEdit_Heartbeat();
68 #endif
69 break;
66 } 70 }
67 } 71 }
68 72
69 /* Private functions ---------------------------------------------------------*/ 73 /* Private functions ---------------------------------------------------------*/
70 74