Line |
Branch |
Decision |
Exec |
Source |
1 |
|
|
|
// |
2 |
|
|
|
// Created by kifir on 2/27/25. |
3 |
|
|
|
// |
4 |
|
|
|
|
5 |
|
|
|
#include "pch.h" |
6 |
|
|
|
|
7 |
|
|
|
#include "tuner_detector_utils.h" |
8 |
|
|
|
|
9 |
|
|
1230 |
bool TunerDetectorUtils::isTuningDetectorUndefined() { |
10 |
|
|
1230 |
return (engineConfiguration->tuningDetector == 0); |
11 |
|
|
|
} |
12 |
|
|
|
|
13 |
|
|
60 |
uint8_t TunerDetectorUtils::getUserEnteredTuningDetector() { |
14 |
|
|
60 |
return engineConfiguration->tuningDetector + TUNING_DETECTOR_PERSISTENCE_OFFSET; |
15 |
|
|
|
} |
16 |
|
|
|
|
17 |
|
|
586 |
void TunerDetectorUtils::setUserEnteredTuningDetector(const uint8_t tuningDetector) { |
18 |
|
|
586 |
engineConfiguration->tuningDetector = tuningDetector - TUNING_DETECTOR_PERSISTENCE_OFFSET; |
19 |
|
|
586 |
} |
20 |
|
|
|
|