]> git.donarmstrong.com Git - qmk_firmware.git/blobdiff - quantum/audio/audio.h
don't let timer1 exist without b5 being enabled
[qmk_firmware.git] / quantum / audio / audio.h
index 4ba879bbb1d25b8b0e2d09723005e3821b4e5d04..27fdc2ab63de8c89abbeb0346de2fe9f6709f560 100644 (file)
@@ -1,3 +1,21 @@
+/* Copyright 2016 Jack Humbert
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ */
+#ifndef AUDIO_H
+#define AUDIO_H
+
 #include <stdint.h>
 #include <stdbool.h>
 #include <avr/io.h>
@@ -5,9 +23,7 @@
 #include "musical_notes.h"
 #include "song_list.h"
 #include "voices.h"
-
-#ifndef AUDIO_H
-#define AUDIO_H
+#include "quantum.h"
 
 // Largely untested PWM audio mode (doesn't sound as good)
 // #define PWM_AUDIO
@@ -86,9 +102,5 @@ void play_notes(float (*np)[][2], uint16_t n_count, bool n_repeat, float n_rest)
 
 
 bool is_playing_notes(void);
-void play_goodbye_tone(void);
-void play_startup_tone(void);
-
 
-
-#endif
\ No newline at end of file
+#endif