diff options
60 files changed, 99 insertions, 79 deletions
diff --git a/docs/config_options.md b/docs/config_options.md index 3a4d7c87c..a3262b418 100644 --- a/docs/config_options.md +++ b/docs/config_options.md | |||
@@ -29,7 +29,9 @@ This level contains all of the options for that particular keymap. If you wish t | |||
29 | 29 | ||
30 | This is a C header file that is one of the first things included, and will persist over the whole project (if included). Lots of variables can be set here and accessed elsewhere. The `config.h` file shouldn't be including other `config.h` files, or anything besides this: | 30 | This is a C header file that is one of the first things included, and will persist over the whole project (if included). Lots of variables can be set here and accessed elsewhere. The `config.h` file shouldn't be including other `config.h` files, or anything besides this: |
31 | 31 | ||
32 | #include "config_common.h" | 32 | ```c |
33 | #include "config_common.h" | ||
34 | ``` | ||
33 | 35 | ||
34 | 36 | ||
35 | ## Hardware Options | 37 | ## Hardware Options |
diff --git a/docs/de/newbs_testing_debugging.md b/docs/de/newbs_testing_debugging.md index acc067e10..b39072777 100644 --- a/docs/de/newbs_testing_debugging.md +++ b/docs/de/newbs_testing_debugging.md | |||
@@ -41,7 +41,9 @@ Bevorzugst Du es lieber auf der Befehlszeile zu debuggen? Dafür eignet sich das | |||
41 | 41 | ||
42 | Manchmal ist es hilfreich Debug-Nachrichten innerhalb deines eigenen [Custom Codes](de/custom_quantum_functions.md) zu drucken. Das ist ziemlich einfach. Beginne damit `print.h` am Anfang deiner Datei zu inkludieren: | 42 | Manchmal ist es hilfreich Debug-Nachrichten innerhalb deines eigenen [Custom Codes](de/custom_quantum_functions.md) zu drucken. Das ist ziemlich einfach. Beginne damit `print.h` am Anfang deiner Datei zu inkludieren: |
43 | 43 | ||
44 | #include <print.h> | 44 | ```c |
45 | #include "print.h" | ||
46 | ``` | ||
45 | 47 | ||
46 | Danach stehen dir verschiedene Druck-Funktionen zur Verfügung: | 48 | Danach stehen dir verschiedene Druck-Funktionen zur Verfügung: |
47 | 49 | ||
diff --git a/docs/es/newbs_testing_debugging.md b/docs/es/newbs_testing_debugging.md index ef7412f15..cb65b174f 100644 --- a/docs/es/newbs_testing_debugging.md +++ b/docs/es/newbs_testing_debugging.md | |||
@@ -41,7 +41,9 @@ Para plataformas compatibles, [QMK Toolbox](https://github.com/qmk/qmk_toolbox) | |||
41 | 41 | ||
42 | A veces, es útil imprimir mensajes de depuración desde tu [código personalizado](custom_quantum_functions.md). Hacerlo es bastante simple. Comienza incluyendo `print.h` al principio de tu fichero: | 42 | A veces, es útil imprimir mensajes de depuración desde tu [código personalizado](custom_quantum_functions.md). Hacerlo es bastante simple. Comienza incluyendo `print.h` al principio de tu fichero: |
43 | 43 | ||
44 | #include <print.h> | 44 | ```c |
45 | #include "print.h" | ||
46 | ``` | ||
45 | 47 | ||
46 | Después de eso puedes utilzar algunas funciones print diferentes: | 48 | Después de eso puedes utilzar algunas funciones print diferentes: |
47 | 49 | ||
diff --git a/docs/feature_macros.md b/docs/feature_macros.md index acd40d1bf..3752b3249 100644 --- a/docs/feature_macros.md +++ b/docs/feature_macros.md | |||
@@ -182,7 +182,9 @@ Which would send Left Control+`a` (Left Control down, `a`, Left Control up) - no | |||
182 | 182 | ||
183 | By default, it assumes a US keymap with a QWERTY layout; if you want to change that (e.g. if your OS uses software Colemak), include this somewhere in your keymap: | 183 | By default, it assumes a US keymap with a QWERTY layout; if you want to change that (e.g. if your OS uses software Colemak), include this somewhere in your keymap: |
184 | 184 | ||
185 | #include <sendstring_colemak.h> | 185 | ```c |
186 | #include "sendstring_colemak.h" | ||
187 | ``` | ||
186 | 188 | ||
187 | ### Strings in Memory | 189 | ### Strings in Memory |
188 | 190 | ||
diff --git a/docs/feature_userspace.md b/docs/feature_userspace.md index 77a6c8d76..8b001e3ce 100644 --- a/docs/feature_userspace.md +++ b/docs/feature_userspace.md | |||
@@ -184,7 +184,7 @@ If you wanted to consolidate macros and other functions into your userspace for | |||
184 | 184 | ||
185 | First, you'd want to go through all of your `keymap.c` files and replace `process_record_user` with `process_record_keymap` instead. This way, you can still use keyboard specific codes on those boards, and use your custom "global" keycodes as well. You'll also want to replace `SAFE_RANGE` with `NEW_SAFE_RANGE` so that you wont have any overlapping keycodes | 185 | First, you'd want to go through all of your `keymap.c` files and replace `process_record_user` with `process_record_keymap` instead. This way, you can still use keyboard specific codes on those boards, and use your custom "global" keycodes as well. You'll also want to replace `SAFE_RANGE` with `NEW_SAFE_RANGE` so that you wont have any overlapping keycodes |
186 | 186 | ||
187 | Then add `#include <name.h>` to all of your keymap.c files. This allows you to use these new keycodes without having to redefine them in each keymap. | 187 | Then add `#include "<name>.h"` to all of your keymap.c files. This allows you to use these new keycodes without having to redefine them in each keymap. |
188 | 188 | ||
189 | Once you've done that, you'll want to set the keycode definitions that you need to the `<name>.h` file. For instance: | 189 | Once you've done that, you'll want to set the keycode definitions that you need to the `<name>.h` file. For instance: |
190 | ```c | 190 | ```c |
diff --git a/docs/fr-fr/newbs_testing_debugging.md b/docs/fr-fr/newbs_testing_debugging.md index 680d7644e..0307429ec 100644 --- a/docs/fr-fr/newbs_testing_debugging.md +++ b/docs/fr-fr/newbs_testing_debugging.md | |||
@@ -42,7 +42,9 @@ Vous préférez une solution basée sur le terminal? [hid_listen](https://www.pj | |||
42 | 42 | ||
43 | Parfois, il est utile d'afficher des messages de débugage depuis votre [code custom](custom_quantum_functions.md). Le faire est assez simple. Commencez par ajouter `print.h` au début de votre fichier: | 43 | Parfois, il est utile d'afficher des messages de débugage depuis votre [code custom](custom_quantum_functions.md). Le faire est assez simple. Commencez par ajouter `print.h` au début de votre fichier: |
44 | 44 | ||
45 | #include <print.h> | 45 | ```c |
46 | #include "print.h" | ||
47 | ``` | ||
46 | 48 | ||
47 | Une fois fait, vous pouvez utiliser les fonctions print suivantes: | 49 | Une fois fait, vous pouvez utiliser les fonctions print suivantes: |
48 | 50 | ||
diff --git a/docs/ja/config_options.md b/docs/ja/config_options.md index 67e973030..170beadef 100644 --- a/docs/ja/config_options.md +++ b/docs/ja/config_options.md | |||
@@ -34,7 +34,9 @@ QMK での全ての利用可能な設定にはデフォルトがあります。 | |||
34 | 34 | ||
35 | これは最初に include されるものの 1 つである C ヘッダファイルで、プロジェクト全体(もし含まれる場合)にわたって持続します。多くの変数をここで設定し、他の場所からアクセスすることができます。`config.h` ファイルでは、以下のもの以外の、他の `config.h` ファイルやその他のファイルの include をしないでください: | 35 | これは最初に include されるものの 1 つである C ヘッダファイルで、プロジェクト全体(もし含まれる場合)にわたって持続します。多くの変数をここで設定し、他の場所からアクセスすることができます。`config.h` ファイルでは、以下のもの以外の、他の `config.h` ファイルやその他のファイルの include をしないでください: |
36 | 36 | ||
37 | #include "config_common.h" | 37 | ```c |
38 | #include "config_common.h" | ||
39 | ``` | ||
38 | 40 | ||
39 | 41 | ||
40 | ## ハードウェアオプション | 42 | ## ハードウェアオプション |
diff --git a/docs/ja/feature_macros.md b/docs/ja/feature_macros.md index 5fbe36726..14a58ad24 100644 --- a/docs/ja/feature_macros.md +++ b/docs/ja/feature_macros.md | |||
@@ -187,7 +187,9 @@ void post_process_record_user(uint16_t keycode, keyrecord_t *record) { | |||
187 | 187 | ||
188 | デフォルトでは、QWERTY レイアウトの US キーマップを想定しています; それを変更したい場合(例えば OS がソフトウェア Colemak を使う場合)、キーマップのどこかに以下を含めます: | 188 | デフォルトでは、QWERTY レイアウトの US キーマップを想定しています; それを変更したい場合(例えば OS がソフトウェア Colemak を使う場合)、キーマップのどこかに以下を含めます: |
189 | 189 | ||
190 | #include <sendstring_colemak.h> | 190 | ```c |
191 | #include "sendstring_colemak.h" | ||
192 | ``` | ||
191 | 193 | ||
192 | ### メモリ内の文字列 | 194 | ### メモリ内の文字列 |
193 | 195 | ||
diff --git a/docs/ja/feature_userspace.md b/docs/ja/feature_userspace.md index d0d46f63f..b0c113d1c 100644 --- a/docs/ja/feature_userspace.md +++ b/docs/ja/feature_userspace.md | |||
@@ -189,7 +189,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) { | |||
189 | 189 | ||
190 | 最初に、全ての `keymap.c` ファイルを調べ、代わりに `process_record_user` を `process_record_keymap` に置き換えます。この方法では、これらのキーボードでキーボード固有のコードを使用でき、カスタムの "global" キーコードも使うことができます。また、`SAFE_RANGE` を `NEW_SAFE_RANGE` に置き換えて、キーコードが重複しないようにすることもできます。 | 190 | 最初に、全ての `keymap.c` ファイルを調べ、代わりに `process_record_user` を `process_record_keymap` に置き換えます。この方法では、これらのキーボードでキーボード固有のコードを使用でき、カスタムの "global" キーコードも使うことができます。また、`SAFE_RANGE` を `NEW_SAFE_RANGE` に置き換えて、キーコードが重複しないようにすることもできます。 |
191 | 191 | ||
192 | 次に、全ての keymap.c ファイルに `#include <name.h>` を追加します。これにより、各キーマップでそれらを再定義することなく新しいキーコードを使うことができます。 | 192 | 次に、全ての keymap.c ファイルに `#include "<name>.h"` を追加します。これにより、各キーマップでそれらを再定義することなく新しいキーコードを使うことができます。 |
193 | 193 | ||
194 | それが完了したら、必要なキーコードの定義を `<name>.h` ファイルに設定します。例えば: | 194 | それが完了したら、必要なキーコードの定義を `<name>.h` ファイルに設定します。例えば: |
195 | ```c | 195 | ```c |
diff --git a/docs/ja/newbs_testing_debugging.md b/docs/ja/newbs_testing_debugging.md index b80e09fc7..41103bae9 100644 --- a/docs/ja/newbs_testing_debugging.md +++ b/docs/ja/newbs_testing_debugging.md | |||
@@ -45,7 +45,9 @@ void keyboard_post_init_user(void) { | |||
45 | 45 | ||
46 | [custom code](ja/custom_quantum_functions.md)内からデバッグメッセージを出力すると便利な場合があります。それはとても簡単です。ファイルの先頭に`print.h`のインクルードを追加します: | 46 | [custom code](ja/custom_quantum_functions.md)内からデバッグメッセージを出力すると便利な場合があります。それはとても簡単です。ファイルの先頭に`print.h`のインクルードを追加します: |
47 | 47 | ||
48 | #include <print.h> | 48 | ```c |
49 | #include "print.h" | ||
50 | ``` | ||
49 | 51 | ||
50 | そのあとは、いくつかの異なった print 関数を使用することが出来ます。 | 52 | そのあとは、いくつかの異なった print 関数を使用することが出来ます。 |
51 | 53 | ||
diff --git a/docs/newbs_testing_debugging.md b/docs/newbs_testing_debugging.md index 181238902..834fed716 100644 --- a/docs/newbs_testing_debugging.md +++ b/docs/newbs_testing_debugging.md | |||
@@ -36,7 +36,9 @@ Prefer a terminal based solution? [hid_listen](https://www.pjrc.com/teensy/hid_l | |||
36 | 36 | ||
37 | Sometimes it's useful to print debug messages from within your [custom code](custom_quantum_functions.md). Doing so is pretty simple. Start by including `print.h` at the top of your file: | 37 | Sometimes it's useful to print debug messages from within your [custom code](custom_quantum_functions.md). Doing so is pretty simple. Start by including `print.h` at the top of your file: |
38 | 38 | ||
39 | #include <print.h> | 39 | ```c |
40 | #include "print.h" | ||
41 | ``` | ||
40 | 42 | ||
41 | After that you can use a few different print functions: | 43 | After that you can use a few different print functions: |
42 | 44 | ||
diff --git a/docs/zh-cn/newbs_testing_debugging.md b/docs/zh-cn/newbs_testing_debugging.md index 4edceee41..38e6346c4 100644 --- a/docs/zh-cn/newbs_testing_debugging.md +++ b/docs/zh-cn/newbs_testing_debugging.md | |||
@@ -34,7 +34,9 @@ void keyboard_post_init_user(void) { | |||
34 | 34 | ||
35 | 有时用[custom code](custom_quantum_functions.md)发送自定义调试信息很有用. 这么做很简单. 首先在你文件头部包含`print.h`: | 35 | 有时用[custom code](custom_quantum_functions.md)发送自定义调试信息很有用. 这么做很简单. 首先在你文件头部包含`print.h`: |
36 | 36 | ||
37 | #include <print.h> | 37 | ```c |
38 | #include "print.h" | ||
39 | ``` | ||
38 | 40 | ||
39 | 之后,您可以使用一些不同的打印功能: | 41 | 之后,您可以使用一些不同的打印功能: |
40 | 42 | ||
diff --git a/drivers/chibios/analog.c b/drivers/chibios/analog.c index 6f6db6401..2b3872afb 100644 --- a/drivers/chibios/analog.c +++ b/drivers/chibios/analog.c | |||
@@ -16,7 +16,7 @@ | |||
16 | 16 | ||
17 | #include "quantum.h" | 17 | #include "quantum.h" |
18 | #include "analog.h" | 18 | #include "analog.h" |
19 | #include "ch.h" | 19 | #include <ch.h> |
20 | #include <hal.h> | 20 | #include <hal.h> |
21 | 21 | ||
22 | #if !HAL_USE_ADC | 22 | #if !HAL_USE_ADC |
diff --git a/drivers/chibios/i2c_master.h b/drivers/chibios/i2c_master.h index b3e234e16..c68109acb 100644 --- a/drivers/chibios/i2c_master.h +++ b/drivers/chibios/i2c_master.h | |||
@@ -24,7 +24,7 @@ | |||
24 | */ | 24 | */ |
25 | #pragma once | 25 | #pragma once |
26 | 26 | ||
27 | #include "ch.h" | 27 | #include <ch.h> |
28 | #include <hal.h> | 28 | #include <hal.h> |
29 | 29 | ||
30 | #ifdef I2C1_BANK | 30 | #ifdef I2C1_BANK |
diff --git a/drivers/chibios/serial.c b/drivers/chibios/serial.c index 26c680653..54f7e1321 100644 --- a/drivers/chibios/serial.c +++ b/drivers/chibios/serial.c | |||
@@ -6,7 +6,7 @@ | |||
6 | #include "serial.h" | 6 | #include "serial.h" |
7 | #include "wait.h" | 7 | #include "wait.h" |
8 | 8 | ||
9 | #include "hal.h" | 9 | #include <hal.h> |
10 | 10 | ||
11 | // TODO: resolve/remove build warnings | 11 | // TODO: resolve/remove build warnings |
12 | #if defined(RGBLIGHT_ENABLE) && defined(RGBLED_SPLIT) && defined(PROTOCOL_CHIBIOS) && defined(WS2812_DRIVER_BITBANG) | 12 | #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 62b4913cb..ded78410e 100644 --- a/drivers/chibios/serial_usart.c +++ b/drivers/chibios/serial_usart.c | |||
@@ -2,8 +2,8 @@ | |||
2 | #include "serial.h" | 2 | #include "serial.h" |
3 | #include "printf.h" | 3 | #include "printf.h" |
4 | 4 | ||
5 | #include "ch.h" | 5 | #include <ch.h> |
6 | #include "hal.h" | 6 | #include <hal.h> |
7 | 7 | ||
8 | #ifndef USART_CR1_M0 | 8 | #ifndef USART_CR1_M0 |
9 | # define USART_CR1_M0 USART_CR1_M // some platforms (f1xx) dont have this so | 9 | # 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 0c18587c9..5953bef77 100644 --- a/drivers/chibios/spi_master.h +++ b/drivers/chibios/spi_master.h | |||
@@ -18,7 +18,7 @@ | |||
18 | 18 | ||
19 | #include <ch.h> | 19 | #include <ch.h> |
20 | #include <hal.h> | 20 | #include <hal.h> |
21 | #include <quantum.h> | 21 | #include "quantum.h" |
22 | 22 | ||
23 | #ifndef SPI_DRIVER | 23 | #ifndef SPI_DRIVER |
24 | # define SPI_DRIVER SPID2 | 24 | # define SPI_DRIVER SPID2 |
diff --git a/drivers/chibios/ws2812.c b/drivers/chibios/ws2812.c index 504fb4f07..59ed90374 100644 --- a/drivers/chibios/ws2812.c +++ b/drivers/chibios/ws2812.c | |||
@@ -1,7 +1,7 @@ | |||
1 | #include "quantum.h" | 1 | #include "quantum.h" |
2 | #include "ws2812.h" | 2 | #include "ws2812.h" |
3 | #include "ch.h" | 3 | #include <ch.h> |
4 | #include "hal.h" | 4 | #include <hal.h> |
5 | 5 | ||
6 | /* Adapted from https://github.com/bigjosh/SimpleNeoPixelDemo/ */ | 6 | /* Adapted from https://github.com/bigjosh/SimpleNeoPixelDemo/ */ |
7 | 7 | ||
diff --git a/drivers/chibios/ws2812_pwm.c b/drivers/chibios/ws2812_pwm.c index 14be0a9ed..7595e2fa2 100644 --- a/drivers/chibios/ws2812_pwm.c +++ b/drivers/chibios/ws2812_pwm.c | |||
@@ -1,6 +1,6 @@ | |||
1 | #include "ws2812.h" | 1 | #include "ws2812.h" |
2 | #include "quantum.h" | 2 | #include "quantum.h" |
3 | #include "hal.h" | 3 | #include <hal.h> |
4 | 4 | ||
5 | /* Adapted from https://github.com/joewa/WS2812-LED-Driver_ChibiOS/ */ | 5 | /* Adapted from https://github.com/joewa/WS2812-LED-Driver_ChibiOS/ */ |
6 | 6 | ||
diff --git a/drivers/eeprom/eeprom_stm32_L0_L1.c b/drivers/eeprom/eeprom_stm32_L0_L1.c index b62e6ffd7..ed26cc714 100644 --- a/drivers/eeprom/eeprom_stm32_L0_L1.c +++ b/drivers/eeprom/eeprom_stm32_L0_L1.c | |||
@@ -17,7 +17,7 @@ | |||
17 | #include <stdint.h> | 17 | #include <stdint.h> |
18 | #include <string.h> | 18 | #include <string.h> |
19 | 19 | ||
20 | #include "hal.h" | 20 | #include <hal.h> |
21 | #include "eeprom_driver.h" | 21 | #include "eeprom_driver.h" |
22 | #include "eeprom_stm32_L0_L1.h" | 22 | #include "eeprom_stm32_L0_L1.h" |
23 | 23 | ||
diff --git a/drivers/haptic/solenoid.c b/drivers/haptic/solenoid.c index 2975ef893..3e61d5a17 100644 --- a/drivers/haptic/solenoid.c +++ b/drivers/haptic/solenoid.c | |||
@@ -15,7 +15,7 @@ | |||
15 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | 15 | * along with this program. If not, see <http://www.gnu.org/licenses/>. |
16 | */ | 16 | */ |
17 | 17 | ||
18 | #include <timer.h> | 18 | #include "timer.h" |
19 | #include "solenoid.h" | 19 | #include "solenoid.h" |
20 | #include "haptic.h" | 20 | #include "haptic.h" |
21 | 21 | ||
diff --git a/drivers/qwiic/micro_oled.c b/drivers/qwiic/micro_oled.c index bed6b2507..f63cf2e64 100644 --- a/drivers/qwiic/micro_oled.c +++ b/drivers/qwiic/micro_oled.c | |||
@@ -28,7 +28,7 @@ | |||
28 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | 28 | * along with this program. If not, see <http://www.gnu.org/licenses/>. |
29 | */ | 29 | */ |
30 | #include "micro_oled.h" | 30 | #include "micro_oled.h" |
31 | #include <print.h> | 31 | #include "print.h" |
32 | #include <stdlib.h> | 32 | #include <stdlib.h> |
33 | #include "util/font5x7.h" | 33 | #include "util/font5x7.h" |
34 | #include "util/font8x16.h" | 34 | #include "util/font8x16.h" |
diff --git a/platforms/chibios/GENERIC_STM32_F042X6/board/board.c b/platforms/chibios/GENERIC_STM32_F042X6/board/board.c index 7d93b68f9..3c6f54ef5 100644 --- a/platforms/chibios/GENERIC_STM32_F042X6/board/board.c +++ b/platforms/chibios/GENERIC_STM32_F042X6/board/board.c | |||
@@ -19,8 +19,8 @@ | |||
19 | * generator plugin. Do not edit manually. | 19 | * generator plugin. Do not edit manually. |
20 | */ | 20 | */ |
21 | 21 | ||
22 | #include "hal.h" | 22 | #include <hal.h> |
23 | #include "stm32_gpio.h" | 23 | #include <stm32_gpio.h> |
24 | 24 | ||
25 | /*===========================================================================*/ | 25 | /*===========================================================================*/ |
26 | /* Driver local definitions. */ | 26 | /* Driver local definitions. */ |
diff --git a/platforms/chibios/IC_TEENSY_3_1/board/board.c b/platforms/chibios/IC_TEENSY_3_1/board/board.c index 63e3f6492..36ae8051e 100644 --- a/platforms/chibios/IC_TEENSY_3_1/board/board.c +++ b/platforms/chibios/IC_TEENSY_3_1/board/board.c | |||
@@ -13,7 +13,7 @@ | |||
13 | See the License for the specific language governing permissions and | 13 | See the License for the specific language governing permissions and |
14 | limitations under the License. | 14 | limitations under the License. |
15 | */ | 15 | */ |
16 | #include "hal.h" | 16 | #include <hal.h> |
17 | 17 | ||
18 | #if HAL_USE_PAL || defined(__DOXYGEN__) | 18 | #if HAL_USE_PAL || defined(__DOXYGEN__) |
19 | /** | 19 | /** |
diff --git a/platforms/chibios/STM32_F103_STM32DUINO/board/board.c b/platforms/chibios/STM32_F103_STM32DUINO/board/board.c index 9135f6136..8a34e81f2 100644 --- a/platforms/chibios/STM32_F103_STM32DUINO/board/board.c +++ b/platforms/chibios/STM32_F103_STM32DUINO/board/board.c | |||
@@ -14,7 +14,7 @@ | |||
14 | limitations under the License. | 14 | limitations under the License. |
15 | */ | 15 | */ |
16 | 16 | ||
17 | #include "hal.h" | 17 | #include <hal.h> |
18 | 18 | ||
19 | // Value to place in RTC backup register 10 for persistent bootloader mode | 19 | // Value to place in RTC backup register 10 for persistent bootloader mode |
20 | #define RTC_BOOTLOADER_FLAG 0x424C | 20 | #define RTC_BOOTLOADER_FLAG 0x424C |
diff --git a/quantum/audio/audio_chibios.c b/quantum/audio/audio_chibios.c index fba7c5987..1f147f2c9 100644 --- a/quantum/audio/audio_chibios.c +++ b/quantum/audio/audio_chibios.c | |||
@@ -15,8 +15,8 @@ | |||
15 | */ | 15 | */ |
16 | 16 | ||
17 | #include "audio.h" | 17 | #include "audio.h" |
18 | #include "ch.h" | 18 | #include <ch.h> |
19 | #include "hal.h" | 19 | #include <hal.h> |
20 | 20 | ||
21 | #include <string.h> | 21 | #include <string.h> |
22 | #include "print.h" | 22 | #include "print.h" |
diff --git a/quantum/audio/luts.h b/quantum/audio/luts.h index 117d74cd0..6fdd3b463 100644 --- a/quantum/audio/luts.h +++ b/quantum/audio/luts.h | |||
@@ -19,8 +19,8 @@ | |||
19 | # include <avr/interrupt.h> | 19 | # include <avr/interrupt.h> |
20 | # include <avr/pgmspace.h> | 20 | # include <avr/pgmspace.h> |
21 | #else | 21 | #else |
22 | # include "ch.h" | 22 | # include <ch.h> |
23 | # include "hal.h" | 23 | # include <hal.h> |
24 | #endif | 24 | #endif |
25 | 25 | ||
26 | #ifndef LUTS_H | 26 | #ifndef LUTS_H |
diff --git a/quantum/fauxclicky.c b/quantum/fauxclicky.c index a57e2ed07..53499c9c1 100644 --- a/quantum/fauxclicky.c +++ b/quantum/fauxclicky.c | |||
@@ -15,10 +15,10 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
15 | 15 | ||
16 | #include <avr/interrupt.h> | 16 | #include <avr/interrupt.h> |
17 | #include <avr/io.h> | 17 | #include <avr/io.h> |
18 | #include <timer.h> | 18 | #include "timer.h" |
19 | #include <fauxclicky.h> | 19 | #include "fauxclicky.h" |
20 | #include <stdbool.h> | 20 | #include <stdbool.h> |
21 | #include <musical_notes.h> | 21 | #include "musical_notes.h" |
22 | 22 | ||
23 | bool fauxclicky_enabled = true; | 23 | bool fauxclicky_enabled = true; |
24 | uint16_t note_start = 0; | 24 | uint16_t note_start = 0; |
diff --git a/quantum/fauxclicky.h b/quantum/fauxclicky.h index 5c056918a..bfaacf909 100644 --- a/quantum/fauxclicky.h +++ b/quantum/fauxclicky.h | |||
@@ -18,7 +18,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
18 | #endif | 18 | #endif |
19 | 19 | ||
20 | #include "musical_notes.h" | 20 | #include "musical_notes.h" |
21 | #include "stdbool.h" | 21 | #include <stdbool.h> |
22 | 22 | ||
23 | __attribute__((weak)) float fauxclicky_pressed_note[2] = MUSICAL_NOTE(_D4, 0.25); | 23 | __attribute__((weak)) float fauxclicky_pressed_note[2] = MUSICAL_NOTE(_D4, 0.25); |
24 | __attribute__((weak)) float fauxclicky_released_note[2] = MUSICAL_NOTE(_C4, 0.125); | 24 | __attribute__((weak)) float fauxclicky_released_note[2] = MUSICAL_NOTE(_C4, 0.125); |
diff --git a/quantum/keymap.h b/quantum/keymap.h index de3bece11..90a2398ba 100644 --- a/quantum/keymap.h +++ b/quantum/keymap.h | |||
@@ -25,7 +25,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
25 | # include <avr/pgmspace.h> | 25 | # include <avr/pgmspace.h> |
26 | #elif defined PROTOCOL_CHIBIOS | 26 | #elif defined PROTOCOL_CHIBIOS |
27 | // We need to ensure that chibios is include before redefining reset | 27 | // We need to ensure that chibios is include before redefining reset |
28 | # include "ch.h" | 28 | # include <ch.h> |
29 | #endif | 29 | #endif |
30 | #include "keycode.h" | 30 | #include "keycode.h" |
31 | #include "action_macro.h" | 31 | #include "action_macro.h" |
diff --git a/quantum/process_keycode/process_key_lock.c b/quantum/process_keycode/process_key_lock.c index 602127a74..4bd58f0c1 100644 --- a/quantum/process_keycode/process_key_lock.c +++ b/quantum/process_keycode/process_key_lock.c | |||
@@ -14,8 +14,8 @@ | |||
14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. |
15 | */ | 15 | */ |
16 | 16 | ||
17 | #include "inttypes.h" | 17 | #include <inttypes.h> |
18 | #include "stdint.h" | 18 | #include <stdint.h> |
19 | #include "process_key_lock.h" | 19 | #include "process_key_lock.h" |
20 | 20 | ||
21 | #define BV_64(shift) (((uint64_t)1) << (shift)) | 21 | #define BV_64(shift) (((uint64_t)1) << (shift)) |
diff --git a/quantum/quantum.h b/quantum/quantum.h index cb0af306a..3e09df4f8 100644 --- a/quantum/quantum.h +++ b/quantum/quantum.h | |||
@@ -21,7 +21,7 @@ | |||
21 | # include <avr/interrupt.h> | 21 | # include <avr/interrupt.h> |
22 | #endif | 22 | #endif |
23 | #if defined(PROTOCOL_CHIBIOS) | 23 | #if defined(PROTOCOL_CHIBIOS) |
24 | # include "hal.h" | 24 | # include <hal.h> |
25 | # include "chibios_config.h" | 25 | # include "chibios_config.h" |
26 | #endif | 26 | #endif |
27 | 27 | ||
diff --git a/quantum/rgb_matrix.c b/quantum/rgb_matrix.c index f239bd582..c756857ae 100644 --- a/quantum/rgb_matrix.c +++ b/quantum/rgb_matrix.c | |||
@@ -23,7 +23,7 @@ | |||
23 | #include <string.h> | 23 | #include <string.h> |
24 | #include <math.h> | 24 | #include <math.h> |
25 | 25 | ||
26 | #include "lib/lib8tion/lib8tion.h" | 26 | #include <lib/lib8tion/lib8tion.h> |
27 | 27 | ||
28 | #ifndef RGB_MATRIX_CENTER | 28 | #ifndef RGB_MATRIX_CENTER |
29 | const point_t k_rgb_matrix_center = {112, 32}; | 29 | const point_t k_rgb_matrix_center = {112, 32}; |
diff --git a/quantum/rgblight.c b/quantum/rgblight.c index 7f9e330d3..e6f14487c 100644 --- a/quantum/rgblight.c +++ b/quantum/rgblight.c | |||
@@ -24,7 +24,7 @@ | |||
24 | # include "eeprom.h" | 24 | # include "eeprom.h" |
25 | #endif | 25 | #endif |
26 | #ifdef STM32_EEPROM_ENABLE | 26 | #ifdef STM32_EEPROM_ENABLE |
27 | # include "hal.h" | 27 | # include <hal.h> |
28 | # include "eeprom_stm32.h" | 28 | # include "eeprom_stm32.h" |
29 | #endif | 29 | #endif |
30 | #include "wait.h" | 30 | #include "wait.h" |
@@ -34,7 +34,7 @@ | |||
34 | #include "color.h" | 34 | #include "color.h" |
35 | #include "debug.h" | 35 | #include "debug.h" |
36 | #include "led_tables.h" | 36 | #include "led_tables.h" |
37 | #include "lib/lib8tion/lib8tion.h" | 37 | #include <lib/lib8tion/lib8tion.h> |
38 | #ifdef VELOCIKEY_ENABLE | 38 | #ifdef VELOCIKEY_ENABLE |
39 | # include "velocikey.h" | 39 | # include "velocikey.h" |
40 | #endif | 40 | #endif |
@@ -983,7 +983,7 @@ void rgblight_task(void) { | |||
983 | # ifndef RGBLIGHT_BREATHE_TABLE_SIZE | 983 | # ifndef RGBLIGHT_BREATHE_TABLE_SIZE |
984 | # define RGBLIGHT_BREATHE_TABLE_SIZE 256 // 256 or 128 or 64 | 984 | # define RGBLIGHT_BREATHE_TABLE_SIZE 256 // 256 or 128 or 64 |
985 | # endif | 985 | # endif |
986 | # include <rgblight_breathe_table.h> | 986 | # include "rgblight_breathe_table.h" |
987 | # endif | 987 | # endif |
988 | 988 | ||
989 | __attribute__((weak)) const uint8_t RGBLED_BREATHING_INTERVALS[] PROGMEM = {30, 20, 10, 5}; | 989 | __attribute__((weak)) const uint8_t RGBLED_BREATHING_INTERVALS[] PROGMEM = {30, 20, 10, 5}; |
diff --git a/quantum/serial_link/system/serial_link.c b/quantum/serial_link/system/serial_link.c index c59c06894..f77483ad8 100644 --- a/quantum/serial_link/system/serial_link.c +++ b/quantum/serial_link/system/serial_link.c | |||
@@ -24,7 +24,7 @@ SOFTWARE. | |||
24 | #include "report.h" | 24 | #include "report.h" |
25 | #include "host_driver.h" | 25 | #include "host_driver.h" |
26 | #include "serial_link/system/serial_link.h" | 26 | #include "serial_link/system/serial_link.h" |
27 | #include "hal.h" | 27 | #include <hal.h> |
28 | #include "serial_link/protocol/byte_stuffer.h" | 28 | #include "serial_link/protocol/byte_stuffer.h" |
29 | #include "serial_link/protocol/transport.h" | 29 | #include "serial_link/protocol/transport.h" |
30 | #include "serial_link/protocol/frame_router.h" | 30 | #include "serial_link/protocol/frame_router.h" |
diff --git a/quantum/serial_link/system/serial_link.h b/quantum/serial_link/system/serial_link.h index f48fbe9ea..b6a473957 100644 --- a/quantum/serial_link/system/serial_link.h +++ b/quantum/serial_link/system/serial_link.h | |||
@@ -36,7 +36,7 @@ host_driver_t* get_serial_link_driver(void); | |||
36 | void serial_link_update(void); | 36 | void serial_link_update(void); |
37 | 37 | ||
38 | #if defined(PROTOCOL_CHIBIOS) | 38 | #if defined(PROTOCOL_CHIBIOS) |
39 | # include "ch.h" | 39 | # include <ch.h> |
40 | 40 | ||
41 | static inline void serial_link_lock(void) { chSysLock(); } | 41 | static inline void serial_link_lock(void) { chSysLock(); } |
42 | 42 | ||
diff --git a/quantum/split_common/split_util.c b/quantum/split_common/split_util.c index e8e944d71..97d49961d 100644 --- a/quantum/split_common/split_util.c +++ b/quantum/split_common/split_util.c | |||
@@ -12,7 +12,7 @@ | |||
12 | #endif | 12 | #endif |
13 | 13 | ||
14 | #ifdef PROTOCOL_VUSB | 14 | #ifdef PROTOCOL_VUSB |
15 | # include "usbdrv.h" | 15 | # include <usbdrv/usbdrv.h> |
16 | #endif | 16 | #endif |
17 | 17 | ||
18 | #ifdef EE_HANDS | 18 | #ifdef EE_HANDS |
diff --git a/quantum/split_common/transport.h b/quantum/split_common/transport.h index ccce57e44..f3e752bf9 100644 --- a/quantum/split_common/transport.h +++ b/quantum/split_common/transport.h | |||
@@ -1,6 +1,6 @@ | |||
1 | #pragma once | 1 | #pragma once |
2 | 2 | ||
3 | #include <common/matrix.h> | 3 | #include "common/matrix.h" |
4 | 4 | ||
5 | void transport_master_init(void); | 5 | void transport_master_init(void); |
6 | void transport_slave_init(void); | 6 | void transport_slave_init(void); |
diff --git a/quantum/via.h b/quantum/via.h index 373843f90..d0510fcab 100644 --- a/quantum/via.h +++ b/quantum/via.h | |||
@@ -16,7 +16,7 @@ | |||
16 | 16 | ||
17 | #pragma once | 17 | #pragma once |
18 | 18 | ||
19 | #include <tmk_core/common/eeconfig.h> // for EECONFIG_SIZE | 19 | #include "tmk_core/common/eeconfig.h" // for EECONFIG_SIZE |
20 | 20 | ||
21 | // Keyboard level code can change where VIA stores the magic. | 21 | // Keyboard level code can change where VIA stores the magic. |
22 | // The magic is the build date YYMMDD encoded as BCD in 3 bytes, | 22 | // The magic is the build date YYMMDD encoded as BCD in 3 bytes, |
diff --git a/quantum/visualizer/lcd_backlight.h b/quantum/visualizer/lcd_backlight.h index 7b0b6a9fd..0a1535edf 100644 --- a/quantum/visualizer/lcd_backlight.h +++ b/quantum/visualizer/lcd_backlight.h | |||
@@ -24,7 +24,7 @@ SOFTWARE. | |||
24 | 24 | ||
25 | #ifndef LCD_BACKLIGHT_H_ | 25 | #ifndef LCD_BACKLIGHT_H_ |
26 | #define LCD_BACKLIGHT_H_ | 26 | #define LCD_BACKLIGHT_H_ |
27 | #include "stdint.h" | 27 | #include <stdint.h> |
28 | 28 | ||
29 | // Helper macros for storing hue, staturation and intensity as unsigned integers | 29 | // Helper macros for storing hue, staturation and intensity as unsigned integers |
30 | #define LCD_COLOR(hue, saturation, intensity) (hue << 16 | saturation << 8 | intensity) | 30 | #define LCD_COLOR(hue, saturation, intensity) (hue << 16 | saturation << 8 | intensity) |
diff --git a/quantum/visualizer/led_backlight_keyframes.c b/quantum/visualizer/led_backlight_keyframes.c index d81117d2b..338ada522 100644 --- a/quantum/visualizer/led_backlight_keyframes.c +++ b/quantum/visualizer/led_backlight_keyframes.c | |||
@@ -22,7 +22,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | |||
22 | SOFTWARE. | 22 | SOFTWARE. |
23 | */ | 23 | */ |
24 | #include "gfx.h" | 24 | #include "gfx.h" |
25 | #include "math.h" | 25 | #include <math.h> |
26 | #include "led_backlight_keyframes.h" | 26 | #include "led_backlight_keyframes.h" |
27 | 27 | ||
28 | static uint8_t fade_led_color(keyframe_animation_t* animation, int from, int to) { | 28 | static uint8_t fade_led_color(keyframe_animation_t* animation, int from, int to) { |
diff --git a/quantum/visualizer/visualizer.c b/quantum/visualizer/visualizer.c index 9e9cb6d41..709affbb7 100644 --- a/quantum/visualizer/visualizer.c +++ b/quantum/visualizer/visualizer.c | |||
@@ -26,7 +26,7 @@ SOFTWARE. | |||
26 | #include "visualizer.h" | 26 | #include "visualizer.h" |
27 | #include <string.h> | 27 | #include <string.h> |
28 | #ifdef PROTOCOL_CHIBIOS | 28 | #ifdef PROTOCOL_CHIBIOS |
29 | # include "ch.h" | 29 | # include <ch.h> |
30 | #endif | 30 | #endif |
31 | 31 | ||
32 | #include "gfx.h" | 32 | #include "gfx.h" |
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 @@ | |||
23 | extern "C" { | 23 | extern "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 | ||
29 | typedef enum { FLASH_BUSY = 1, FLASH_ERROR_PG, FLASH_ERROR_WRP, FLASH_ERROR_OPT, FLASH_COMPLETE, FLASH_TIMEOUT, FLASH_BAD_ADDRESS } FLASH_Status; | 29 | typedef 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 | ||
33 | void restore_interrupt_setting(interrupt_setting_t setting) { SREG = setting; } | 33 | void 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 | ||
37 | interrupt_setting_t store_and_clear_interrupt(void) { | 37 | interrupt_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 | /* |