summaryrefslogtreecommitdiff
path: root/platforms/avr
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2022-03-04 14:56:59 +1100
committerGitHub <noreply@github.com>2022-03-04 14:56:59 +1100
commitd412854e37a53d35e567af3dc5c452d64c570fdd (patch)
tree46b7d207f5e3f594a6aae74c2a56af50c8917bb0 /platforms/avr
parentaab2ac22c5217afcbbbaff8b5444b02765f6de66 (diff)
analog.[ch]: remove unnecessary includes (#16471)
Diffstat (limited to 'platforms/avr')
-rw-r--r--platforms/avr/drivers/analog.c3
-rw-r--r--platforms/avr/drivers/analog.h2
2 files changed, 1 insertions, 4 deletions
diff --git a/platforms/avr/drivers/analog.c b/platforms/avr/drivers/analog.c
index ed4d563609..a68c6a371d 100644
--- a/platforms/avr/drivers/analog.c
+++ b/platforms/avr/drivers/analog.c
@@ -14,9 +14,6 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <avr/io.h>
-#include <avr/pgmspace.h>
-#include <stdint.h>
#include "analog.h"
static uint8_t aref = ADC_REF_POWER;
diff --git a/platforms/avr/drivers/analog.h b/platforms/avr/drivers/analog.h
index fb13e106ff..214f1f01fb 100644
--- a/platforms/avr/drivers/analog.h
+++ b/platforms/avr/drivers/analog.h
@@ -17,7 +17,7 @@
#pragma once
#include <stdint.h>
-#include "quantum.h"
+#include "gpio.h"
#ifdef __cplusplus
extern "C" {