mirror of
https://github.com/UtilitechAS/amsreader-firmware.git
synced 2026-02-28 01:26:49 +00:00
Fixed incorrect color LED on boot
This commit is contained in:
@@ -378,6 +378,10 @@ void setup() {
|
||||
|
||||
delay(1);
|
||||
hw.setup(&sysConfig, &gpioConfig);
|
||||
hw.ledOff(LED_INTERNAL);
|
||||
hw.ledOff(LED_RED);
|
||||
hw.ledOff(LED_GREEN);
|
||||
hw.ledOff(LED_BLUE);
|
||||
|
||||
if(gpioConfig.apPin >= 0) {
|
||||
pinMode(gpioConfig.apPin, INPUT_PULLUP);
|
||||
|
||||
Reference in New Issue
Block a user