Mercurial > public > ostc4
diff 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 |
line wrap: on
line diff
--- a/Discovery/Src/tMenuCvOption.c Mon Jul 28 18:32:23 2025 +0200 +++ b/Discovery/Src/tMenuCvOption.c Mon Jul 28 18:34:45 2025 +0200 @@ -76,6 +76,15 @@ } nextline(text,&textPointer); +#ifdef ENABLE_PULSE_SENSOR_BT + if (line == 0 || line == 3) + { + textPointer += snprintf(&text[textPointer], 21, "%c%c", TXT_2BYTE, TXT2BYTE_Pulse); + } + nextline(text,&textPointer); + +#endif + return StMOption; } void tMCvOption_checkLineStatus(void)
