Mercurial > public > ostc4
comparison Discovery/Src/tMenuCvOption.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 |
comparison
equal
deleted
inserted
replaced
| 1031:cd4561c33758 | 1032:33b91584d827 |
|---|---|
| 74 textPointer += snprintf(&text[textPointer], 21, "%c%c\t%u:%02u \016\016[m:ss]\017", TXT_2BYTE, TXT2BYTE_Timer, data->timerDurationS / 60, data->timerDurationS % 60); | 74 textPointer += snprintf(&text[textPointer], 21, "%c%c\t%u:%02u \016\016[m:ss]\017", TXT_2BYTE, TXT2BYTE_Timer, data->timerDurationS / 60, data->timerDurationS % 60); |
| 75 } | 75 } |
| 76 } | 76 } |
| 77 nextline(text,&textPointer); | 77 nextline(text,&textPointer); |
| 78 | 78 |
| 79 #ifdef ENABLE_PULSE_SENSOR_BT | |
| 80 if (line == 0 || line == 3) | |
| 81 { | |
| 82 textPointer += snprintf(&text[textPointer], 21, "%c%c", TXT_2BYTE, TXT2BYTE_Pulse); | |
| 83 } | |
| 84 nextline(text,&textPointer); | |
| 85 | |
| 86 #endif | |
| 87 | |
| 79 return StMOption; | 88 return StMOption; |
| 80 } | 89 } |
| 81 void tMCvOption_checkLineStatus(void) | 90 void tMCvOption_checkLineStatus(void) |
| 82 { | 91 { |
| 83 uint8_t localLineMask = 0; | 92 uint8_t localLineMask = 0; |
