summaryrefslogtreecommitdiff
path: root/drivers/chibios
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/chibios
parenta0cc2dc6d0b4fafc9f7d70b98254e32d032c3f17 (diff)
Tidy up spi_master includes (#13053)
Diffstat (limited to 'drivers/chibios')
-rw-r--r--drivers/chibios/spi_master.c2
-rw-r--r--drivers/chibios/spi_master.h4
2 files changed, 4 insertions, 2 deletions
diff --git a/drivers/chibios/spi_master.c b/drivers/chibios/spi_master.c
index 8341b59a53..4852a6eba4 100644
--- a/drivers/chibios/spi_master.c
+++ b/drivers/chibios/spi_master.c
@@ -15,7 +15,7 @@
*/
#include "spi_master.h"
-#include "quantum.h"
+
#include "timer.h"
static pin_t currentSlavePin = NO_PIN;
diff --git a/drivers/chibios/spi_master.h b/drivers/chibios/spi_master.h
index 5953bef77f..e93580e319 100644
--- a/drivers/chibios/spi_master.h
+++ b/drivers/chibios/spi_master.h
@@ -18,7 +18,9 @@
#include <ch.h>
#include <hal.h>
-#include "quantum.h"
+#include <stdbool.h>
+
+#include "gpio.h"
#ifndef SPI_DRIVER
# define SPI_DRIVER SPID2