aboutsummaryrefslogtreecommitdiffstats
path: root/demos/ARM7-LPC214x-GCC/buzzer.h
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2007-11-12 15:02:23 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2007-11-12 15:02:23 +0000
commita7ad3ace523d19be103e03f6244e0e797354fe0f (patch)
tree62234f13c1fcb3477d16f5727b60503900b87f7f /demos/ARM7-LPC214x-GCC/buzzer.h
parent48cdf91217fd6460628315a63ccc9e87de21c193 (diff)
downloadChibiOS-a7ad3ace523d19be103e03f6244e0e797354fe0f.tar.gz
ChibiOS-a7ad3ace523d19be103e03f6244e0e797354fe0f.tar.bz2
ChibiOS-a7ad3ace523d19be103e03f6244e0e797354fe0f.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@87 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'demos/ARM7-LPC214x-GCC/buzzer.h')
-rw-r--r--demos/ARM7-LPC214x-GCC/buzzer.h12
1 files changed, 9 insertions, 3 deletions
diff --git a/demos/ARM7-LPC214x-GCC/buzzer.h b/demos/ARM7-LPC214x-GCC/buzzer.h
index f5f9e82ac..464e081d8 100644
--- a/demos/ARM7-LPC214x-GCC/buzzer.h
+++ b/demos/ARM7-LPC214x-GCC/buzzer.h
@@ -20,9 +20,15 @@
#ifndef _BUZZER_H_
#define _BUZZER_H_
-void InitBuzzer(void);
-void PlaySound(int freq, t_time duration);
-void PlaySoundWait(int freq, t_time duration);
+#ifdef __cplusplus
+extern "C" {
+#endif
+ void InitBuzzer(void);
+ void PlaySound(int freq, t_time duration);
+ void PlaySoundWait(int freq, t_time duration);
+#ifdef __cplusplus
+}
+#endif
extern EventSource BuzzerSilentEventSource;