projects
/
fw
/
altos
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8a830c7
)
altos: Allow devices to override default beep
author
Keith Packard
<keithp@keithp.com>
Sun, 19 Sep 2021 21:52:13 +0000
(14:52 -0700)
committer
Keith Packard
<keithp@keithp.com>
Sun, 19 Sep 2021 21:52:13 +0000
(14:52 -0700)
New beeper will want new default.
Signed-off-by: Keith Packard <keithp@keithp.com>
src/kernel/ao_beep.h
patch
|
blob
|
history
diff --git
a/src/kernel/ao_beep.h
b/src/kernel/ao_beep.h
index 8c5d53435254df11e78ad3c311c6c04fc4de1d3b..1dbc9456c117d8c03dc6bc400803e1aa1d68c9ea 100644
(file)
--- a/
src/kernel/ao_beep.h
+++ b/
src/kernel/ao_beep.h
@@
-35,7
+35,9
@@
* frequency = 1/2 (24e6/32) / beep
*/
+#ifndef AO_BEEP_MID_DEFAULT
#define AO_BEEP_MID_DEFAULT 94 /* 3989Hz */
+#endif
#if HAS_BEEP_CONFIG
#define AO_BEEP_MID ao_config.mid_beep