mirror of https://github.com/rusefi/rusefi.git
only:hd
This commit is contained in:
parent
68261a7634
commit
a8ea8a07ce
|
@ -38,8 +38,6 @@ void setHarley() {
|
|||
engineConfiguration->maximumIgnitionTiming = 90;
|
||||
engineConfiguration->minimumIgnitionTiming = -90;
|
||||
|
||||
// for now we need non wired camInput to keep TS field enable/disable logic happy
|
||||
engineConfiguration->camInputs[0] = PROTEUS_DIGITAL_6;
|
||||
engineConfiguration->vvtMode[0] = VVT_MAP_V_TWIN;
|
||||
|
||||
engineConfiguration->oddFireEngine = true;
|
||||
|
@ -53,7 +51,12 @@ void setHarley() {
|
|||
engineConfiguration->acrPin2 = Gpio::PROTEUS_IGN_9;
|
||||
|
||||
engineConfiguration->triggerInputPins[0] = PROTEUS_VR_1;
|
||||
engineConfiguration->camInputs[0] = PROTEUS_DIGITAL_3;
|
||||
// for now we need non wired camInput to keep TS field enable/disable logic happy
|
||||
#if EFI_PROD_CODE
|
||||
engineConfiguration->camInputs[0] = PROTEUS_DIGITAL_6;
|
||||
#else
|
||||
engineConfiguration->camInputs[0] = Gpio::Unassigned;
|
||||
#endif
|
||||
|
||||
engineConfiguration->luaOutputPins[0] = Gpio::PROTEUS_LS_12;
|
||||
|
||||
|
|
|
@ -1027,8 +1027,9 @@ void onConfigurationChangeTriggerCallback() {
|
|||
|
||||
for (size_t i = 0; i < efi::size(engineConfiguration->triggerInputPins); i++) {
|
||||
changed |= isConfigurationChanged(triggerInputPins[i]);
|
||||
if (engineConfiguration->vvtMode[0] == VVT_MAP_V_TWIN && isBrainPinValid(engineConfiguration->camInputs[i])) {
|
||||
criticalError("Please no physical sensors in CAM by MAP mode");
|
||||
Gpio pin = engineConfiguration->camInputs[i];
|
||||
if (engineConfiguration->vvtMode[0] == VVT_MAP_V_TWIN && isBrainPinValid(pin)) {
|
||||
criticalError("Please no physical sensors in CAM by MAP mode index=%d %s", i, hwPortname(pin));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue