X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=quantum%2Faudio%2Faudio_pwm.c;h=ed67136099a8889b13bc9e56974842da8bfe552e;hb=7ec583e5efb276ce90a40a1df985de7d0d0b8f46;hp=328a253a7e94eae286538f2ebff4d75fcbc87733;hpb=83e1cc241e3aabd69f6cdcd2581477d4b85bb8d3;p=qmk_firmware.git diff --git a/quantum/audio/audio_pwm.c b/quantum/audio/audio_pwm.c index 328a253a7..ed6713609 100644 --- a/quantum/audio/audio_pwm.c +++ b/quantum/audio/audio_pwm.c @@ -1,3 +1,18 @@ +/* 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 . + */ #include #include //#include @@ -6,7 +21,7 @@ #include #include "print.h" #include "audio.h" -#include "keymap_common.h" +#include "keymap.h" #include "eeconfig.h" @@ -79,7 +94,7 @@ bool notes_repeat; float notes_rest; bool note_resting = false; -uint8_t current_note = 0; +uint16_t current_note = 0; uint8_t rest_counter = 0; #ifdef VIBRATO_ENABLE