aboutsummaryrefslogtreecommitdiffstats
path: root/demos/ARM7-LPC214x-GCC/buzzer.c
diff options
context:
space:
mode:
Diffstat (limited to 'demos/ARM7-LPC214x-GCC/buzzer.c')
-rw-r--r--demos/ARM7-LPC214x-GCC/buzzer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/ARM7-LPC214x-GCC/buzzer.c b/demos/ARM7-LPC214x-GCC/buzzer.c
index 249b1542b..25be0e2d9 100644
--- a/demos/ARM7-LPC214x-GCC/buzzer.c
+++ b/demos/ARM7-LPC214x-GCC/buzzer.c
@@ -61,7 +61,7 @@ static void stop(void *p) {
TC *tc = T1Base;
StopCounter(tc);
- chEvtSendI(&BuzzerSilentEventSource);
+ chEvtBroadcastI(&BuzzerSilentEventSource);
}
void PlaySound(int freq, systime_t duration) {