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