Mercurial > public > ostc4
comparison Discovery/Src/base.c @ 1034:195bfbdf961d Puls_Integration
Pulse measurement integration:
Added function to parse standart GATT pulse service. Added compile switch to remove code from non dev builds.
| author | Ideenmodellierer |
|---|---|
| date | Thu, 07 Aug 2025 20:18:52 +0200 |
| parents | 5f66e44d69f0 |
| children | 5b913cdaa9dc |
comparison
equal
deleted
inserted
replaced
| 1033:5f66e44d69f0 | 1034:195bfbdf961d |
|---|---|
| 527 } | 527 } |
| 528 else | 528 else |
| 529 { | 529 { |
| 530 TriggerButtonAction(); | 530 TriggerButtonAction(); |
| 531 } | 531 } |
| 532 | 532 #ifdef ENABLE_PULSE_SENSOR_BT |
| 533 cv_heartbeat_HandleData(); | 533 cv_heartbeat_HandleData(); |
| 534 | 534 #endif |
| 535 if(DoHousekeeping) | 535 if(DoHousekeeping) |
| 536 { | 536 { |
| 537 DoHousekeeping = housekeepingFrame(); | 537 DoHousekeeping = housekeepingFrame(); |
| 538 } | 538 } |
| 539 if(DoDisplayRefresh) /* set every 100ms by timer interrupt */ | 539 if(DoDisplayRefresh) /* set every 100ms by timer interrupt */ |
| 540 { | 540 { |
| 541 #ifdef ENABLE_PULSE_SENSOR_BT | |
| 541 cv_heartbeat_Control(); | 542 cv_heartbeat_Control(); |
| 542 | 543 #endif |
| 543 DoDisplayRefresh = 0; | 544 DoDisplayRefresh = 0; |
| 544 | 545 |
| 545 updateSetpointStateUsed(); | 546 updateSetpointStateUsed(); |
| 546 if(stateUsed == stateSimGetPointer()) | 547 if(stateUsed == stateSimGetPointer()) |
| 547 { | 548 { |
