Merge branch 'master' into RGBLED

This commit is contained in:
Gareth Coleman
2024-04-22 14:42:14 +01:00
committed by GitHub
4 changed files with 13 additions and 5 deletions

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;
@@ -1005,4 +1010,4 @@ void loop()
mainDelay.delay(delayMsec);
}
// if (didWake) LOG_DEBUG("wake!\n");
}
}