Skip to content

Commit 901e14d

Browse files
committed
Fix bad invocation
1 parent e56e2af commit 901e14d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Arduino_MKRIoTCarrier_Buzzer.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ void MKRIoTCarrier_Buzzer::noSound(){
3737
}
3838

3939
void MKRIoTCarrier_Buzzer::beep(int freq, unsigned long duration) {
40-
carrier.Buzzer.sound(freq);
40+
this->sound(freq);
4141
delay(duration);
42-
carrier.Buzzer.noSound();
42+
this->noSound();
4343
}

0 commit comments

Comments
 (0)