]> git.donarmstrong.com Git - qmk_firmware.git/blobdiff - quantum/audio/audio.h
remove warning
[qmk_firmware.git] / quantum / audio / audio.h
index 00d45f7ac19702c4f8662ce01e394e1705f341ad..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>
@@ -7,9 +25,6 @@
 #include "voices.h"
 #include "quantum.h"
 
-#ifndef AUDIO_H
-#define AUDIO_H
-
 // Largely untested PWM audio mode (doesn't sound as good)
 // #define PWM_AUDIO
 
@@ -88,4 +103,4 @@ void play_notes(float (*np)[][2], uint16_t n_count, bool n_repeat, float n_rest)
 
 bool is_playing_notes(void);
 
-#endif
\ No newline at end of file
+#endif