properly format using clang-format

This commit is contained in:
Patric Gruber 2023-07-07 23:20:41 +02:00
parent 7ae790bcdb
commit 5dbe1f77b5
2 changed files with 17 additions and 16 deletions

View file

@ -138,7 +138,8 @@ void HeartRateTask::HandleSensorData(int* lastBpm) {
StartWaiting();
}
}
if (bpm == 0 && state == States::BackgroundMeasuring && xTaskGetTickCount() - measurementStart >= DURATION_UNTIL_BACKGROUND_MEASURMENT_IS_STOPPED) {
if (bpm == 0 && state == States::BackgroundMeasuring &&
xTaskGetTickCount() - measurementStart >= DURATION_UNTIL_BACKGROUND_MEASURMENT_IS_STOPPED) {
state = States::BackgroundWaiting;
StartWaiting();
}