comparison Discovery/Src/tMenuEditCvOption.c @ 1032:33b91584d827 Puls_Integration

New CV Pulse: The basic infrastructure for external puls measurement via Bluetooth has been added. Precondition is an OSTC with an activated central role. The OSTC will then search for a BLE device with puls measurement service. Reading data and visualization is not implemented yet.
author Ideenmodellierer
date Mon, 28 Jul 2025 18:34:45 +0200
parents 8c0134a287da
children 195bfbdf961d
comparison
equal deleted inserted replaced
1031:cd4561c33758 1032:33b91584d827
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 case 3: openEdit_Heartbeat();
65 break; 67 break;
66 } 68 }
67 } 69 }
68 70
69 /* Private functions ---------------------------------------------------------*/ 71 /* Private functions ---------------------------------------------------------*/
70 72