aboutsummaryrefslogtreecommitdiff
path: root/tmk_core
diff options
context:
space:
mode:
authorQMK Bot <hello@qmk.fm>2020-12-11 02:46:19 +0000
committerQMK Bot <hello@qmk.fm>2020-12-11 02:46:19 +0000
commitfdfcce57e1c46765e0aebf37ad3d9611a7384241 (patch)
tree9524405fef6cc3b16965517735dc0ef315f67ab1 /tmk_core
parented76f4394fd95413f7da11e2342b0965182ccb95 (diff)
parent501f2fdef115314713e94428d409e5c3b5bfc1c2 (diff)
downloadqmk_firmware-fdfcce57e1c46765e0aebf37ad3d9611a7384241.tar.gz
qmk_firmware-fdfcce57e1c46765e0aebf37ad3d9611a7384241.zip
Merge remote-tracking branch 'origin/master' into develop
Diffstat (limited to 'tmk_core')
-rw-r--r--tmk_core/common/action.c2
-rw-r--r--tmk_core/common/chibios/bootloader.c4
-rw-r--r--tmk_core/common/chibios/eeprom_stm32.h4
-rw-r--r--tmk_core/common/chibios/eeprom_teensy.c4
-rw-r--r--tmk_core/common/chibios/flash_stm32.h4
-rw-r--r--tmk_core/common/chibios/sleep_led.c4
-rw-r--r--tmk_core/common/chibios/suspend.c4
-rw-r--r--tmk_core/common/chibios/timer.c2
-rw-r--r--tmk_core/common/eeconfig.c2
-rw-r--r--tmk_core/common/wait.h2
-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
18 files changed, 27 insertions, 27 deletions
diff --git a/tmk_core/common/action.c b/tmk_core/common/action.c
index 77da0139f..a7432bae5 100644
--- a/tmk_core/common/action.c
+++ b/tmk_core/common/action.c
@@ -48,7 +48,7 @@ int retro_tapping_counter = 0;
48#endif 48#endif
49 49
50#ifdef FAUXCLICKY_ENABLE 50#ifdef FAUXCLICKY_ENABLE
51# include <fauxclicky.h> 51# include "fauxclicky.h"
52#endif 52#endif
53 53
54#ifdef IGNORE_MOD_TAP_INTERRUPT_PER_KEY 54#ifdef IGNORE_MOD_TAP_INTERRUPT_PER_KEY
diff --git a/tmk_core/common/chibios/bootloader.c b/tmk_core/common/chibios/bootloader.c
index f6d016ec9..6cabcc4b8 100644
--- a/tmk_core/common/chibios/bootloader.c
+++ b/tmk_core/common/chibios/bootloader.c
@@ -1,7 +1,7 @@
1#include "bootloader.h" 1#include "bootloader.h"
2 2
3#include "ch.h" 3#include <ch.h>
4#include "hal.h" 4#include <hal.h>
5#include "wait.h" 5#include "wait.h"
6 6
7/* This code should be checked whether it runs correctly on platforms */ 7/* This code should be checked whether it runs correctly on platforms */
diff --git a/tmk_core/common/chibios/eeprom_stm32.h b/tmk_core/common/chibios/eeprom_stm32.h
index ea0ce0640..373325cd2 100644
--- a/tmk_core/common/chibios/eeprom_stm32.h
+++ b/tmk_core/common/chibios/eeprom_stm32.h
@@ -24,8 +24,8 @@
24#ifndef __EEPROM_H 24#ifndef __EEPROM_H
25#define __EEPROM_H 25#define __EEPROM_H
26 26
27#include "ch.h" 27#include <ch.h>
28#include "hal.h" 28#include <hal.h>
29#include "flash_stm32.h" 29#include "flash_stm32.h"
30 30
31// HACK ALERT. This definition may not match your processor 31// HACK ALERT. This definition may not match your processor
diff --git a/tmk_core/common/chibios/eeprom_teensy.c b/tmk_core/common/chibios/eeprom_teensy.c
index d436d0cb9..e135e19a2 100644
--- a/tmk_core/common/chibios/eeprom_teensy.c
+++ b/tmk_core/common/chibios/eeprom_teensy.c
@@ -1,5 +1,5 @@
1#include "ch.h" 1#include <ch.h>
2#include "hal.h" 2#include <hal.h>
3 3
4#include "eeconfig.h" 4#include "eeconfig.h"
5 5
diff --git a/tmk_core/common/chibios/flash_stm32.h b/tmk_core/common/chibios/flash_stm32.h
index 33ab7867d..8a874f606 100644
--- a/tmk_core/common/chibios/flash_stm32.h
+++ b/tmk_core/common/chibios/flash_stm32.h
@@ -23,8 +23,8 @@
23extern "C" { 23extern "C" {
24#endif 24#endif
25 25
26#include "ch.h" 26#include <ch.h>
27#include "hal.h" 27#include <hal.h>
28 28
29typedef enum { FLASH_BUSY = 1, FLASH_ERROR_PG, FLASH_ERROR_WRP, FLASH_ERROR_OPT, FLASH_COMPLETE, FLASH_TIMEOUT, FLASH_BAD_ADDRESS } FLASH_Status; 29typedef enum { FLASH_BUSY = 1, FLASH_ERROR_PG, FLASH_ERROR_WRP, FLASH_ERROR_OPT, FLASH_COMPLETE, FLASH_TIMEOUT, FLASH_BAD_ADDRESS } FLASH_Status;
30 30
diff --git a/tmk_core/common/chibios/sleep_led.c b/tmk_core/common/chibios/sleep_led.c
index df1a1b5fc..18c6d6e17 100644
--- a/tmk_core/common/chibios/sleep_led.c
+++ b/tmk_core/common/chibios/sleep_led.c
@@ -1,5 +1,5 @@
1#include "ch.h" 1#include <ch.h>
2#include "hal.h" 2#include <hal.h>
3 3
4#include "led.h" 4#include "led.h"
5#include "sleep_led.h" 5#include "sleep_led.h"
diff --git a/tmk_core/common/chibios/suspend.c b/tmk_core/common/chibios/suspend.c
index 64dfc05ab..24efb0ac4 100644
--- a/tmk_core/common/chibios/suspend.c
+++ b/tmk_core/common/chibios/suspend.c
@@ -1,7 +1,7 @@
1/* TODO */ 1/* TODO */
2 2
3#include "ch.h" 3#include <ch.h>
4#include "hal.h" 4#include <hal.h>
5 5
6#include "matrix.h" 6#include "matrix.h"
7#include "action.h" 7#include "action.h"
diff --git a/tmk_core/common/chibios/timer.c b/tmk_core/common/chibios/timer.c
index ac5a5af63..9f664e1f7 100644
--- a/tmk_core/common/chibios/timer.c
+++ b/tmk_core/common/chibios/timer.c
@@ -1,4 +1,4 @@
1#include "ch.h" 1#include <ch.h>
2 2
3#include "timer.h" 3#include "timer.h"
4 4
diff --git a/tmk_core/common/eeconfig.c b/tmk_core/common/eeconfig.c
index e15897552..5e3ebe6ee 100644
--- a/tmk_core/common/eeconfig.c
+++ b/tmk_core/common/eeconfig.c
@@ -5,7 +5,7 @@
5#include "action_layer.h" 5#include "action_layer.h"
6 6
7#ifdef STM32_EEPROM_ENABLE 7#ifdef STM32_EEPROM_ENABLE
8# include "hal.h" 8# include <hal.h>
9# include "eeprom_stm32.h" 9# include "eeprom_stm32.h"
10#endif 10#endif
11 11
diff --git a/tmk_core/common/wait.h b/tmk_core/common/wait.h
index c82cd2d65..f5ef12ac0 100644
--- a/tmk_core/common/wait.h
+++ b/tmk_core/common/wait.h
@@ -12,7 +12,7 @@ extern "C" {
12# define wait_ms(ms) _delay_ms(ms) 12# define wait_ms(ms) _delay_ms(ms)
13# define wait_us(us) _delay_us(us) 13# define wait_us(us) _delay_us(us)
14#elif defined PROTOCOL_CHIBIOS 14#elif defined PROTOCOL_CHIBIOS
15# include "ch.h" 15# include <ch.h>
16# define wait_ms(ms) \ 16# define wait_ms(ms) \
17 do { \ 17 do { \
18 if (ms != 0) { \ 18 if (ms != 0) { \
diff --git a/tmk_core/protocol/chibios/main.c b/tmk_core/protocol/chibios/main.c
index 400c0b8f5..b99a40f1e 100644
--- a/tmk_core/protocol/chibios/main.c
+++ b/tmk_core/protocol/chibios/main.c
@@ -15,8 +15,8 @@
15 * GPL v2 or later. 15 * GPL v2 or later.
16 */ 16 */
17 17
18#include "ch.h" 18#include <ch.h>
19#include "hal.h" 19#include <hal.h>
20 20
21#include "usb_main.h" 21#include "usb_main.h"
22 22
diff --git a/tmk_core/protocol/chibios/usb_driver.c b/tmk_core/protocol/chibios/usb_driver.c
index 22d3c91f5..cc0ce7600 100644
--- a/tmk_core/protocol/chibios/usb_driver.c
+++ b/tmk_core/protocol/chibios/usb_driver.c
@@ -22,7 +22,7 @@
22 * @{ 22 * @{
23 */ 23 */
24 24
25#include "hal.h" 25#include <hal.h>
26#include "usb_driver.h" 26#include "usb_driver.h"
27#include <string.h> 27#include <string.h>
28 28
diff --git a/tmk_core/protocol/chibios/usb_driver.h b/tmk_core/protocol/chibios/usb_driver.h
index 77dff8066..6d71bcec4 100644
--- a/tmk_core/protocol/chibios/usb_driver.h
+++ b/tmk_core/protocol/chibios/usb_driver.h
@@ -25,7 +25,7 @@
25#ifndef USB_DRIVER_H 25#ifndef USB_DRIVER_H
26# define USB_DRIVER_H 26# define USB_DRIVER_H
27 27
28# include "hal_usb_cdc.h" 28# include <hal_usb_cdc.h>
29 29
30/*===========================================================================*/ 30/*===========================================================================*/
31/* Driver constants. */ 31/* Driver constants. */
diff --git a/tmk_core/protocol/chibios/usb_main.c b/tmk_core/protocol/chibios/usb_main.c
index bb4bf6a58..096e6e676 100644
--- a/tmk_core/protocol/chibios/usb_main.c
+++ b/tmk_core/protocol/chibios/usb_main.c
@@ -25,8 +25,8 @@
25 * makes the assumption this is safe to avoid littering with preprocessor directives. 25 * makes the assumption this is safe to avoid littering with preprocessor directives.
26 */ 26 */
27 27
28#include "ch.h" 28#include <ch.h>
29#include "hal.h" 29#include <hal.h>
30 30
31#include "usb_main.h" 31#include "usb_main.h"
32 32
diff --git a/tmk_core/protocol/chibios/usb_main.h b/tmk_core/protocol/chibios/usb_main.h
index d8813f480..1381d0765 100644
--- a/tmk_core/protocol/chibios/usb_main.h
+++ b/tmk_core/protocol/chibios/usb_main.h
@@ -21,8 +21,8 @@
21// TESTING 21// TESTING
22// extern uint8_t blinkLed; 22// extern uint8_t blinkLed;
23 23
24#include "ch.h" 24#include <ch.h>
25#include "hal.h" 25#include <hal.h>
26 26
27/* ------------------------- 27/* -------------------------
28 * General USB driver header 28 * General USB driver header
diff --git a/tmk_core/protocol/lufa/lufa.c b/tmk_core/protocol/lufa/lufa.c
index 878be7d34..8fd4be8af 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;
61#endif 61#endif
62 62
63#ifdef AUDIO_ENABLE 63#ifdef AUDIO_ENABLE
64# include <audio.h> 64# include "audio.h"
65#endif 65#endif
66 66
67#ifdef BLUETOOTH_ENABLE 67#ifdef BLUETOOTH_ENABLE
diff --git a/tmk_core/protocol/midi/bytequeue/interrupt_setting.c b/tmk_core/protocol/midi/bytequeue/interrupt_setting.c
index 1be1fee97..407cc65f4 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) {
32 32
33void restore_interrupt_setting(interrupt_setting_t setting) { SREG = setting; } 33void restore_interrupt_setting(interrupt_setting_t setting) { SREG = setting; }
34#elif defined(__arm__) 34#elif defined(__arm__)
35# include "ch.h" 35# include <ch.h>
36 36
37interrupt_setting_t store_and_clear_interrupt(void) { 37interrupt_setting_t store_and_clear_interrupt(void) {
38 chSysLock(); 38 chSysLock();
diff --git a/tmk_core/protocol/usb_descriptor.h b/tmk_core/protocol/usb_descriptor.h
index aa8863f43..1b43cbf3b 100644
--- a/tmk_core/protocol/usb_descriptor.h
+++ b/tmk_core/protocol/usb_descriptor.h
@@ -46,7 +46,7 @@
46#include <LUFA/Drivers/USB/USB.h> 46#include <LUFA/Drivers/USB/USB.h>
47 47
48#ifdef PROTOCOL_CHIBIOS 48#ifdef PROTOCOL_CHIBIOS
49# include "hal.h" 49# include <hal.h>
50#endif 50#endif
51 51
52/* 52/*