projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
altosui: Have single radio_to_frequency function
[fw/altos]
/
src
/
ao_panic.c
diff --git
a/src/ao_panic.c
b/src/ao_panic.c
index e996371e3536463f1a62adb46d98bf0626e17b0c..fdada201572c38e19e8adac2b6d9c7ad23414109 100644
(file)
--- a/
src/ao_panic.c
+++ b/
src/ao_panic.c
@@
-17,6
+17,14
@@
#include "ao.h"
+#ifndef HAS_BEEP
+#error Please define HAS_BEEP
+#endif
+
+#if !HAS_BEEP
+#define ao_beep(x)
+#endif
+
static void
ao_panic_delay(uint8_t n)
{