summaryrefslogtreecommitdiffstats
path: root/platforms/avr/drivers
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2023-07-16 23:42:56 +1000
committerGitHub <noreply@github.com>2023-07-16 23:42:56 +1000
commitda2d2f947d5c30aebea17f414fb22ad50fe5410b (patch)
treefdf2ed307ddb8f32ecb9ef7444ecfdf7ff7b4904 /platforms/avr/drivers
parentb9e5895184c6d36b46ba723d6d71e27249e70c20 (diff)
quantum: remove direct `quantum.h` includes (#21507)
Diffstat (limited to 'platforms/avr/drivers')
-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;