more pinMode fixes
This commit is contained in:
parent
efcfd6b753
commit
63285c8a77
|
@ -558,7 +558,7 @@ static OutputPin *leds[] = { &enginePins.warningPin, &enginePins.runningPin, &en
|
||||||
static void initStatusLeds(void) {
|
static void initStatusLeds(void) {
|
||||||
enginePins.communicationPin.initPin("led: comm status", engineConfiguration->communicationPin);
|
enginePins.communicationPin.initPin("led: comm status", engineConfiguration->communicationPin);
|
||||||
// we initialize this here so that we can blink it on start-up
|
// we initialize this here so that we can blink it on start-up
|
||||||
enginePins.checkEnginePin.initPin("MalfunctionIndicator", boardConfiguration->malfunctionIndicatorPin);
|
enginePins.checkEnginePin.initPin("MalfunctionIndicator", boardConfiguration->malfunctionIndicatorPin, &boardConfiguration->malfunctionIndicatorPinMode);
|
||||||
|
|
||||||
|
|
||||||
#if EFI_WARNING_LED || defined(__DOXYGEN__)
|
#if EFI_WARNING_LED || defined(__DOXYGEN__)
|
||||||
|
|
|
@ -322,7 +322,7 @@ void initOutputPins(void) {
|
||||||
#endif /* HAL_USE_SPI */
|
#endif /* HAL_USE_SPI */
|
||||||
|
|
||||||
// todo: should we move this code closer to the fuel pump logic?
|
// todo: should we move this code closer to the fuel pump logic?
|
||||||
enginePins.fuelPumpRelay.initPin("fuel pump relay", boardConfiguration->fuelPumpPin);
|
enginePins.fuelPumpRelay.initPin("fuel pump relay", boardConfiguration->fuelPumpPin, &boardConfiguration->fuelPumpPinMode);
|
||||||
|
|
||||||
enginePins.mainRelay.initPin("main relay", boardConfiguration->mainRelayPin, &boardConfiguration->mainRelayPinMode);
|
enginePins.mainRelay.initPin("main relay", boardConfiguration->mainRelayPin, &boardConfiguration->mainRelayPinMode);
|
||||||
|
|
||||||
|
|
|
@ -260,5 +260,5 @@ int getRusEfiVersion(void) {
|
||||||
if (initBootloader() != 0)
|
if (initBootloader() != 0)
|
||||||
return 123;
|
return 123;
|
||||||
#endif /* EFI_BOOTLOADER_INCLUDE_CODE */
|
#endif /* EFI_BOOTLOADER_INCLUDE_CODE */
|
||||||
return 20170613;
|
return 20170619;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue