Skip to content

Commit

Permalink
Swapped Sound to match expected outcome
Browse files Browse the repository at this point in the history
The sounds were associated with the wrong function
  • Loading branch information
Technologyman00 committed Oct 18, 2024
1 parent 4b872f1 commit cca9f73
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/buzz/buzz.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -57,13 +57,13 @@ void playBeep()

void playGPSEnableBeep()
{
ToneDuration melody[] = {{NOTE_CS4, DURATION_1_8}, {NOTE_FS3, DURATION_1_4}, {NOTE_C3, DURATION_1_4}};
ToneDuration melody[] = {{NOTE_C3, DURATION_1_8}, {NOTE_FS3, DURATION_1_4}, {NOTE_CS4, DURATION_1_4}};
playTones(melody, sizeof(melody) / sizeof(ToneDuration));
}

void playGPSDisableBeep()
{
ToneDuration melody[] = {{NOTE_C3, DURATION_1_8}, {NOTE_FS3, DURATION_1_4}, {NOTE_CS4, DURATION_1_4}};
ToneDuration melody[] = {{NOTE_CS4, DURATION_1_8}, {NOTE_FS3, DURATION_1_4}, {NOTE_C3, DURATION_1_4}};
playTones(melody, sizeof(melody) / sizeof(ToneDuration));
}

Expand Down

0 comments on commit cca9f73

Please sign in to comment.