remove config lookup entirely

This commit is contained in:
Matthew Kennedy 2023-06-05 00:11:06 -07:00 committed by rusefillc
parent 90efa9e832
commit bd97357e5b
1 changed files with 3 additions and 9 deletions

View File

@ -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,