summaryrefslogtreecommitdiff
path: root/drivers/avr
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2021-06-03 16:26:41 +1000
committerGitHub <noreply@github.com>2021-06-03 16:26:41 +1000
commit261d94ce344e28a13bf01444e467cc7c68c27282 (patch)
tree2998ae78f02e4e55b3b448fa55b8f2f7b8c4a72e /drivers/avr
parenta0cc2dc6d0b4fafc9f7d70b98254e32d032c3f17 (diff)
downloadqmk_firmware-261d94ce344e28a13bf01444e467cc7c68c27282.tar.gz
qmk_firmware-261d94ce344e28a13bf01444e467cc7c68c27282.zip
Tidy up spi_master includes (#13053)
Diffstat (limited to 'drivers/avr')
-rw-r--r--drivers/avr/spi_master.c4
-rw-r--r--drivers/avr/spi_master.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/drivers/avr/spi_master.c b/drivers/avr/spi_master.c
index 19ca0ced44..4e8fd3bcdf 100644
--- a/drivers/avr/spi_master.c
+++ b/drivers/avr/spi_master.c
@@ -14,10 +14,8 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
-#include <avr/io.h>
-
#include "spi_master.h"
-#include "quantum.h"
+
#include "timer.h"
#if defined(__AVR_AT90USB162__) || defined(__AVR_ATmega16U2__) || defined(__AVR_ATmega32U2__) || defined(__AVR_ATmega16U4__) || defined(__AVR_ATmega32U4__) || defined(__AVR_AT90USB646__) || defined(__AVR_AT90USB647__) || defined(__AVR_AT90USB1286__) || defined(__AVR_AT90USB1287__)
diff --git a/drivers/avr/spi_master.h b/drivers/avr/spi_master.h
index 9203698dd5..8a30f47ae4 100644
--- a/drivers/avr/spi_master.h
+++ b/drivers/avr/spi_master.h
@@ -16,7 +16,9 @@
#pragma once
-#include "quantum.h"
+#include <stdbool.h>
+
+#include "gpio.h"
typedef int16_t spi_status_t;