EPIC: we need to test fresh boards #5511

only:proteus_f7
This commit is contained in:
rusefi 2023-08-31 00:28:52 -04:00
parent 47b09566cb
commit 251bc304ea
2 changed files with 8 additions and 7 deletions

View File

@ -994,10 +994,10 @@ void proteusStimQc() {
engineConfiguration->vehicleSpeedSensorInputPin = PROTEUS_DIGITAL_5;
engineConfiguration->brakePedalPin = PROTEUS_DIGITAL_6;
engineConfiguration->fan2Pin = Gpio::PROTEUS_LS_9;
engineConfiguration->malfunctionIndicatorPin = Gpio::PROTEUS_LS_13;
engineConfiguration->tachOutputPin = Gpio::PROTEUS_LS_14;
engineConfiguration->vvtPins[0] = Gpio::PROTEUS_LS_15;
engineConfiguration->vvtPins[1] = Gpio::PROTEUS_LS_16;
// engineConfiguration->fan2Pin = Gpio::PROTEUS_LS_9;
// engineConfiguration->malfunctionIndicatorPin = Gpio::PROTEUS_LS_13;
// engineConfiguration->tachOutputPin = Gpio::PROTEUS_LS_14;
//
// engineConfiguration->vvtPins[0] = Gpio::PROTEUS_LS_15;
// engineConfiguration->vvtPins[1] = Gpio::PROTEUS_LS_16;
}

View File

@ -139,7 +139,8 @@ void processCanBenchTest(const CANRxFrame& frame) {
setPin(frame, 0);
} else if (command == CAN_BENCH_SET_ENGINE_TYPE) {
int eType = frame.data8[2];
setEngineType(eType, false);
// todo: fix firmware for 'false' to be possible here?
setEngineType(eType, true);
}
}