summaryrefslogtreecommitdiffstats
path: root/platforms/avr/drivers/audio_pwm_hardware.c
diff options
context:
space:
mode:
Diffstat (limited to 'platforms/avr/drivers/audio_pwm_hardware.c')
-rw-r--r--platforms/avr/drivers/audio_pwm_hardware.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/platforms/avr/drivers/audio_pwm_hardware.c b/platforms/avr/drivers/audio_pwm_hardware.c
index 2fc448ea58..6799cf2fdd 100644
--- a/platforms/avr/drivers/audio_pwm_hardware.c
+++ b/platforms/avr/drivers/audio_pwm_hardware.c
@@ -15,13 +15,9 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#if defined(__AVR__)
-# include <avr/pgmspace.h>
-# include <avr/interrupt.h>
-# include <avr/io.h>
-#endif
-
#include "audio.h"
+#include "gpio.h"
+#include <avr/interrupt.h>
extern bool playing_note;
extern bool playing_melody;