summaryrefslogtreecommitdiff
path: root/quantum/audio.h
diff options
context:
space:
mode:
authorJack Humbert <jack.humb@gmail.com>2016-04-16 21:31:40 -0400
committerJack Humbert <jack.humb@gmail.com>2016-04-16 21:31:40 -0400
commit41cc35425ab32c9a9492006da8b667d01d32dfa6 (patch)
tree23813e84df2687694ba82adf416f59a9e52e89b9 /quantum/audio.h
parent8f4ce501eb41cdd195d61e05c7e9dbe54545e6b9 (diff)
downloadqmk_firmware-41cc35425ab32c9a9492006da8b667d01d32dfa6.tar.gz
qmk_firmware-41cc35425ab32c9a9492006da8b667d01d32dfa6.zip
rests between notes as an argument
Diffstat (limited to 'quantum/audio.h')
-rw-r--r--quantum/audio.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/quantum/audio.h b/quantum/audio.h
index 58270015df..65a6f9434d 100644
--- a/quantum/audio.h
+++ b/quantum/audio.h
@@ -2,6 +2,7 @@
#include <stdbool.h>
#include <avr/io.h>
#include <util/delay.h>
+#include "musical_notes.h"
typedef union {
uint8_t raw;
@@ -20,4 +21,4 @@ void play_note(double freq, int vol);
void stop_note(double freq);
void stop_all_notes();
void init_notes();
-void play_notes(float (*np)[][2], uint8_t n_length, bool n_repeat);
+void play_notes(float (*np)[][2], uint8_t n_length, bool n_repeat, float n_rest);