diff options
author | Ryan <fauxpark@gmail.com> | 2020-12-11 13:45:24 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-11 13:45:24 +1100 |
commit | 501f2fdef115314713e94428d409e5c3b5bfc1c2 (patch) | |
tree | e454192658ed0000d1d814e2eab492410febe98f /drivers | |
parent | 5b5d74a2677c281d12cd69825d2e252842786667 (diff) | |
download | qmk_firmware-501f2fdef115314713e94428d409e5c3b5bfc1c2.tar.gz qmk_firmware-501f2fdef115314713e94428d409e5c3b5bfc1c2.zip |
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.c | 2 | ||||
-rw-r--r-- | drivers/chibios/i2c_master.h | 2 | ||||
-rw-r--r-- | drivers/chibios/serial.c | 2 | ||||
-rw-r--r-- | drivers/chibios/serial_usart.c | 4 | ||||
-rw-r--r-- | drivers/chibios/spi_master.h | 2 | ||||
-rw-r--r-- | drivers/chibios/ws2812.c | 4 | ||||
-rw-r--r-- | drivers/chibios/ws2812_pwm.c | 2 | ||||
-rw-r--r-- | drivers/eeprom/eeprom_stm32_L0_L1.c | 2 | ||||
-rw-r--r-- | drivers/haptic/solenoid.c | 2 | ||||
-rw-r--r-- | drivers/qwiic/micro_oled.c | 2 |
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" |