remove config lookup entirely
This commit is contained in:
parent
90efa9e832
commit
bd97357e5b
|
@ -245,21 +245,15 @@ void updateDevConsoleState() {
|
|||
}
|
||||
|
||||
__attribute__((weak)) Gpio getCommsLedPin() {
|
||||
// TODO #35, remove the field from engineConfiguration
|
||||
return engineConfiguration->communicationLedPin;
|
||||
//return Gpio::Unassigned;
|
||||
return Gpio::Unassigned;
|
||||
}
|
||||
|
||||
__attribute__((weak)) Gpio getWarningLedPin() {
|
||||
// TODO #35, remove the field from engineConfiguration
|
||||
return engineConfiguration->warningLedPin;
|
||||
//return Gpio::Unassigned;
|
||||
return Gpio::Unassigned;
|
||||
}
|
||||
|
||||
__attribute__((weak)) Gpio getRunningLedPin() {
|
||||
// TODO #35, remove the field from engineConfiguration
|
||||
return engineConfiguration->runningLedPin;
|
||||
//return Gpio::Unassigned;
|
||||
return Gpio::Unassigned;
|
||||
}
|
||||
|
||||
static OutputPin* leds[] = { &enginePins.warningLedPin, &enginePins.runningLedPin,
|
||||
|
|
Loading…
Reference in New Issue