Merge branch 'RGBLED' of github.com:garethhcoleman/firmware into RGBLED

This commit is contained in:
Gareth Coleman
2024-04-22 14:43:07 +01:00
4 changed files with 13 additions and 5 deletions
+6 -1
View File
@@ -179,6 +179,11 @@ const char *getDeviceName()
static int32_t ledBlinker()
{
// Still set up the blinking (heartbeat) interval but skip code path below, so LED will blink if
// config.device.led_heartbeat_disabled is changed
if (config.device.led_heartbeat_disabled)
return 1000;
static bool ledOn;
ledOn ^= 1;
@@ -1003,4 +1008,4 @@ void loop()
mainDelay.delay(delayMsec);
}
// if (didWake) LOG_DEBUG("wake!\n");
}
}