mirror of
https://github.com/meshtastic/firmware.git
synced 2025-04-27 10:21:40 +00:00
fix off by one error
buzzer is index 2, but loop was 0-1 so buzzer never got turned off.
This commit is contained in:
parent
724fa38a55
commit
333c3c1c9e
@ -81,7 +81,7 @@ int32_t ExternalNotificationModule::runOnce()
|
||||
// let the song finish if we reach timeout
|
||||
nagCycleCutoff = UINT32_MAX;
|
||||
LOG_INFO("Turning off external notification: ");
|
||||
for (int i = 0; i < 2; i++) {
|
||||
for (int i = 0; i < 3; i++) {
|
||||
setExternalOff(i);
|
||||
externalTurnedOn[i] = 0;
|
||||
LOG_INFO("%d ", i);
|
||||
|
Loading…
Reference in New Issue
Block a user