rusEFI
The most advanced open source ECU
Loading...
Searching...
No Matches
tuner_detector_utils.cpp
Go to the documentation of this file.
1//
2// Created by kifir on 2/27/25.
3//
4
5#include "pch.h"
6
8
12
14 return engineConfiguration->tuningDetector + TUNING_DETECTOR_PERSISTENCE_OFFSET;
15}
16
17void TunerDetectorUtils::setUserEnteredTuningDetector(const uint8_t tuningDetector) {
18 engineConfiguration->tuningDetector = tuningDetector - TUNING_DETECTOR_PERSISTENCE_OFFSET;
19}
static uint8_t getUserEnteredTuningDetector()
static bool isTuningDetectorUndefined()
static void setUserEnteredTuningDetector(uint8_t tuningDetector)
static constexpr engine_configuration_s * engineConfiguration