summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2020-12-11 13:45:24 +1100
committerGitHub <noreply@github.com>2020-12-11 13:45:24 +1100
commit501f2fdef115314713e94428d409e5c3b5bfc1c2 (patch)
treee454192658ed0000d1d814e2eab492410febe98f /drivers
parent5b5d74a2677c281d12cd69825d2e252842786667 (diff)
Normalise include statements in core code (#11153)
* Normalise include statements in core code * Missed one
Diffstat (limited to 'drivers')
-rw-r--r--drivers/chibios/analog.c2
-rw-r--r--drivers/chibios/i2c_master.h2
-rw-r--r--drivers/chibios/serial.c2
-rw-r--r--drivers/chibios/serial_usart.c4
-rw-r--r--drivers/chibios/spi_master.h2
-rw-r--r--drivers/chibios/ws2812.c4
-rw-r--r--drivers/chibios/ws2812_pwm.c2
-rw-r--r--drivers/eeprom/eeprom_stm32_L0_L1.c2
-rw-r--r--drivers/haptic/solenoid.c2
-rw-r--r--drivers/qwiic/micro_oled.c2
10 files changed, 12 insertions, 12 deletions
diff --git a/drivers/chibios/analog.c b/drivers/chibios/analog.c
index 6f6db64010..2b3872afbb 100644
--- a/drivers/chibios/analog.c
+++ b/drivers/chibios/analog.c
@@ -16,7 +16,7 @@
#include "quantum.h"
#include "analog.h"
-#include "ch.h"
+#include <ch.h>
#include <hal.h>
#if !HAL_USE_ADC
diff --git a/drivers/chibios/i2c_master.h b/drivers/chibios/i2c_master.h
index b3e234e161..c68109acbd 100644
--- a/drivers/chibios/i2c_master.h
+++ b/drivers/chibios/i2c_master.h
@@ -24,7 +24,7 @@
*/
#pragma once
-#include "ch.h"
+#include <ch.h>
#include <hal.h>
#ifdef I2C1_BANK
diff --git a/drivers/chibios/serial.c b/drivers/chibios/serial.c
index 26c6806532..54f7e1321f 100644
--- a/drivers/chibios/serial.c
+++ b/drivers/chibios/serial.c
@@ -6,7 +6,7 @@
#include "serial.h"
#include "wait.h"
-#include "hal.h"
+#include <hal.h>
// TODO: resolve/remove build warnings
#if defined(RGBLIGHT_ENABLE) && defined(RGBLED_SPLIT) && defined(PROTOCOL_CHIBIOS) && defined(WS2812_DRIVER_BITBANG)
diff --git a/drivers/chibios/serial_usart.c b/drivers/chibios/serial_usart.c
index 62b4913cbf..ded78410e1 100644
--- a/drivers/chibios/serial_usart.c
+++ b/drivers/chibios/serial_usart.c
@@ -2,8 +2,8 @@
#include "serial.h"
#include "printf.h"
-#include "ch.h"
-#include "hal.h"
+#include <ch.h>
+#include <hal.h>
#ifndef USART_CR1_M0
# define USART_CR1_M0 USART_CR1_M // some platforms (f1xx) dont have this so
diff --git a/drivers/chibios/spi_master.h b/drivers/chibios/spi_master.h
index 0c18587c95..5953bef77f 100644
--- a/drivers/chibios/spi_master.h
+++ b/drivers/chibios/spi_master.h
@@ -18,7 +18,7 @@
#include <ch.h>
#include <hal.h>
-#include <quantum.h>
+#include "quantum.h"
#ifndef SPI_DRIVER
# define SPI_DRIVER SPID2
diff --git a/drivers/chibios/ws2812.c b/drivers/chibios/ws2812.c
index 504fb4f074..59ed90374a 100644
--- a/drivers/chibios/ws2812.c
+++ b/drivers/chibios/ws2812.c
@@ -1,7 +1,7 @@
#include "quantum.h"
#include "ws2812.h"
-#include "ch.h"
-#include "hal.h"
+#include <ch.h>
+#include <hal.h>
/* Adapted from https://github.com/bigjosh/SimpleNeoPixelDemo/ */
diff --git a/drivers/chibios/ws2812_pwm.c b/drivers/chibios/ws2812_pwm.c
index 14be0a9edc..7595e2fa28 100644
--- a/drivers/chibios/ws2812_pwm.c
+++ b/drivers/chibios/ws2812_pwm.c
@@ -1,6 +1,6 @@
#include "ws2812.h"
#include "quantum.h"
-#include "hal.h"
+#include <hal.h>
/* Adapted from https://github.com/joewa/WS2812-LED-Driver_ChibiOS/ */
diff --git a/drivers/eeprom/eeprom_stm32_L0_L1.c b/drivers/eeprom/eeprom_stm32_L0_L1.c
index b62e6ffd76..ed26cc7145 100644
--- a/drivers/eeprom/eeprom_stm32_L0_L1.c
+++ b/drivers/eeprom/eeprom_stm32_L0_L1.c
@@ -17,7 +17,7 @@
#include <stdint.h>
#include <string.h>
-#include "hal.h"
+#include <hal.h>
#include "eeprom_driver.h"
#include "eeprom_stm32_L0_L1.h"
diff --git a/drivers/haptic/solenoid.c b/drivers/haptic/solenoid.c
index 2975ef893a..3e61d5a171 100644
--- a/drivers/haptic/solenoid.c
+++ b/drivers/haptic/solenoid.c
@@ -15,7 +15,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <timer.h>
+#include "timer.h"
#include "solenoid.h"
#include "haptic.h"
diff --git a/drivers/qwiic/micro_oled.c b/drivers/qwiic/micro_oled.c
index bed6b2507e..f63cf2e643 100644
--- a/drivers/qwiic/micro_oled.c
+++ b/drivers/qwiic/micro_oled.c
@@ -28,7 +28,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "micro_oled.h"
-#include <print.h>
+#include "print.h"
#include <stdlib.h>
#include "util/font5x7.h"
#include "util/font8x16.h"