mirror of https://github.com/rusefi/rusefi.git
why did simulator not compile?
This commit is contained in:
parent
e88d22c48e
commit
7e48d030e7
|
@ -238,6 +238,7 @@ void startTriggerEmulatorPins() {
|
||||||
for (int channel = 0; channel < NUM_EMULATOR_CHANNELS; channel++) {
|
for (int channel = 0; channel < NUM_EMULATOR_CHANNELS; channel++) {
|
||||||
for (size_t i = 0; i < efi::size(emulatorOutputs[channel]); i++) {
|
for (size_t i = 0; i < efi::size(emulatorOutputs[channel]); i++) {
|
||||||
triggerEmulatorSignals[channel].outputPins[i] = &emulatorOutputs[channel][i];
|
triggerEmulatorSignals[channel].outputPins[i] = &emulatorOutputs[channel][i];
|
||||||
|
#if EFI_PROD_CODE
|
||||||
|
|
||||||
brain_pin_e pin;
|
brain_pin_e pin;
|
||||||
|
|
||||||
|
@ -255,7 +256,6 @@ void startTriggerEmulatorPins() {
|
||||||
hasStimPins = true;
|
hasStimPins = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
#if EFI_PROD_CODE
|
|
||||||
if (isConfigurationChanged(triggerSimulatorPins[i])) {
|
if (isConfigurationChanged(triggerSimulatorPins[i])) {
|
||||||
triggerEmulatorSignals[channel].outputPins[i]->initPin("Trigger emulator", pin,
|
triggerEmulatorSignals[channel].outputPins[i]->initPin("Trigger emulator", pin,
|
||||||
engineConfiguration->triggerSimulatorPinModes[i]);
|
engineConfiguration->triggerSimulatorPinModes[i]);
|
||||||
|
|
Loading…
Reference in New Issue