summaryrefslogtreecommitdiff
path: root/tmk_core/protocol
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 /tmk_core/protocol
parent5b5d74a2677c281d12cd69825d2e252842786667 (diff)
downloadqmk_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 'tmk_core/protocol')
-rw-r--r--tmk_core/protocol/chibios/main.c4
-rw-r--r--tmk_core/protocol/chibios/usb_driver.c2
-rw-r--r--tmk_core/protocol/chibios/usb_driver.h2
-rw-r--r--tmk_core/protocol/chibios/usb_main.c4
-rw-r--r--tmk_core/protocol/chibios/usb_main.h4
-rw-r--r--tmk_core/protocol/lufa/lufa.c2
-rw-r--r--tmk_core/protocol/midi/bytequeue/interrupt_setting.c2
-rw-r--r--tmk_core/protocol/usb_descriptor.h2
8 files changed, 11 insertions, 11 deletions
diff --git a/tmk_core/protocol/chibios/main.c b/tmk_core/protocol/chibios/main.c
index 400c0b8f53..b99a40f1e0 100644
--- a/tmk_core/protocol/chibios/main.c
+++ b/tmk_core/protocol/chibios/main.c
@@ -15,8 +15,8 @@
* GPL v2 or later.
*/
-#include "ch.h"
-#include "hal.h"
+#include <ch.h>
+#include <hal.h>
#include "usb_main.h"
diff --git a/tmk_core/protocol/chibios/usb_driver.c b/tmk_core/protocol/chibios/usb_driver.c
index 22d3c91f5a..cc0ce7600f 100644
--- a/tmk_core/protocol/chibios/usb_driver.c
+++ b/tmk_core/protocol/chibios/usb_driver.c
@@ -22,7 +22,7 @@
* @{
*/
-#include "hal.h"
+#include <hal.h>
#include "usb_driver.h"
#include <string.h>
diff --git a/tmk_core/protocol/chibios/usb_driver.h b/tmk_core/protocol/chibios/usb_driver.h
index 77dff80669..6d71bcec4f 100644
--- a/tmk_core/protocol/chibios/usb_driver.h
+++ b/tmk_core/protocol/chibios/usb_driver.h
@@ -25,7 +25,7 @@
#ifndef USB_DRIVER_H
# define USB_DRIVER_H
-# include "hal_usb_cdc.h"
+# include <hal_usb_cdc.h>
/*===========================================================================*/
/* Driver constants. */
diff --git a/tmk_core/protocol/chibios/usb_main.c b/tmk_core/protocol/chibios/usb_main.c
index bb4bf6a580..096e6e676e 100644
--- a/tmk_core/protocol/chibios/usb_main.c
+++ b/tmk_core/protocol/chibios/usb_main.c
@@ -25,8 +25,8 @@
* makes the assumption this is safe to avoid littering with preprocessor directives.
*/
-#include "ch.h"
-#include "hal.h"
+#include <ch.h>
+#include <hal.h>
#include "usb_main.h"
diff --git a/tmk_core/protocol/chibios/usb_main.h b/tmk_core/protocol/chibios/usb_main.h
index d8813f4801..1381d07654 100644
--- a/tmk_core/protocol/chibios/usb_main.h
+++ b/tmk_core/protocol/chibios/usb_main.h
@@ -21,8 +21,8 @@
// TESTING
// extern uint8_t blinkLed;
-#include "ch.h"
-#include "hal.h"
+#include <ch.h>
+#include <hal.h>
/* -------------------------
* General USB driver header
diff --git a/tmk_core/protocol/lufa/lufa.c b/tmk_core/protocol/lufa/lufa.c
index 878be7d342..8fd4be8af5 100644
--- a/tmk_core/protocol/lufa/lufa.c
+++ b/tmk_core/protocol/lufa/lufa.c
@@ -61,7 +61,7 @@ extern keymap_config_t keymap_config;
#endif
#ifdef AUDIO_ENABLE
-# include <audio.h>
+# include "audio.h"
#endif
#ifdef BLUETOOTH_ENABLE
diff --git a/tmk_core/protocol/midi/bytequeue/interrupt_setting.c b/tmk_core/protocol/midi/bytequeue/interrupt_setting.c
index 1be1fee973..407cc65f49 100644
--- a/tmk_core/protocol/midi/bytequeue/interrupt_setting.c
+++ b/tmk_core/protocol/midi/bytequeue/interrupt_setting.c
@@ -32,7 +32,7 @@ interrupt_setting_t store_and_clear_interrupt(void) {
void restore_interrupt_setting(interrupt_setting_t setting) { SREG = setting; }
#elif defined(__arm__)
-# include "ch.h"
+# include <ch.h>
interrupt_setting_t store_and_clear_interrupt(void) {
chSysLock();
diff --git a/tmk_core/protocol/usb_descriptor.h b/tmk_core/protocol/usb_descriptor.h
index aa8863f43f..1b43cbf3b2 100644
--- a/tmk_core/protocol/usb_descriptor.h
+++ b/tmk_core/protocol/usb_descriptor.h
@@ -46,7 +46,7 @@
#include <LUFA/Drivers/USB/USB.h>
#ifdef PROTOCOL_CHIBIOS
-# include "hal.h"
+# include <hal.h>
#endif
/*