Skip to content

Commit

Permalink
CAN EGT sensors needs only CAN read
Browse files Browse the repository at this point in the history
  • Loading branch information
dron0gus committed Mar 17, 2024
1 parent 40f374e commit 00507f0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions firmware/init/sensor/init_egt.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ static AemXSeriesEgt aemEgt2(1, SensorType::EGT2);
void initEgt() {
#if EFI_CAN_SUPPORT
if (engineConfiguration->enableAemXSeriesEgt) {
if (!engineConfiguration->canWriteEnabled || !engineConfiguration->canReadEnabled) {
criticalError("CAN read and write are required to use CAN EGT.");
if (!engineConfiguration->canReadEnabled) {
criticalError("CAN read is required to use CAN EGT.");
return;
}

Expand Down

0 comments on commit 00507f0

Please sign in to comment.