Skip to content

Commit

Permalink
Merge pull request #3395 from tavdog/patch_buzzer_no_turnoff_off_by_o…
Browse files Browse the repository at this point in the history
…ne_error

fix off by one error
  • Loading branch information
caveman99 authored Mar 13, 2024
2 parents 724fa38 + 333c3c1 commit fb16390
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/ExternalNotificationModule.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit fb16390

Please sign in to comment.