egt sensors: final migration encapsulation bits

This commit is contained in:
Andrey Gusakov 2024-03-10 16:06:10 +03:00 committed by rusefillc
parent 56d46e5fbe
commit 180d91b0ed
2 changed files with 0 additions and 7 deletions

View File

@ -702,11 +702,6 @@ void updateTunerStudioState() {
tsOutputChannels->checkEngine = hasErrorCodes();
for (int i = 0; i < EGT_CHANNEL_COUNT; i++) {
// todo: migrate to SensorType framework!
tsOutputChannels->egt[i] = engine->currentEgtValue[i];
}
updateWarningCodes();
tsOutputChannels->starterState = enginePins.starterControl.getLogicValue();

View File

@ -287,8 +287,6 @@ public:
void updateTriggerWaveform();
bool isRunningPwmTest = false;
// todo: encapsulate
uint16_t currentEgtValue[EGT_CHANNEL_COUNT];
/**
* are we running any kind of functional test? this affect