From bd97357e5ba51cd3df26ee34e15018dfb734e533 Mon Sep 17 00:00:00 2001 From: Matthew Kennedy Date: Mon, 5 Jun 2023 00:11:06 -0700 Subject: [PATCH] remove config lookup entirely --- firmware/console/status_loop.cpp | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/firmware/console/status_loop.cpp b/firmware/console/status_loop.cpp index d8202ee58b..ace9fbf3fc 100644 --- a/firmware/console/status_loop.cpp +++ b/firmware/console/status_loop.cpp @@ -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,