Skip to content

Commit 4fbe2ae

Browse files
authored
Update TaskTone.ino
1 parent 7e60fc1 commit 4fbe2ae

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

examples/TaskTone/TaskTone.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ int getDuration(const char* note) {
3535
}
3636

3737
// play note
38-
void playNote(char note) {
38+
void playNote(char& note) {
3939
while (1) {
4040
if (_melody[_note][1] == note) {
4141
tone(MELODY_PIN, getFreq(_melody[_note]));

0 commit comments

Comments
 (0)