diff options
| author | Ryan <fauxpark@gmail.com> | 2020-12-16 14:27:23 +1100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-12-16 14:27:23 +1100 |
| commit | 9366ed728280f4875ebbba9c0ef1eade03c96d35 (patch) | |
| tree | 93a1b85a28ccf4d4fa0b620ad3abcbf566168506 | |
| parent | 37fb14f1b5cbcb0e5ff60abc9152073635234ba4 (diff) | |
| download | qmk_firmware-9366ed728280f4875ebbba9c0ef1eade03c96d35.tar.gz qmk_firmware-9366ed728280f4875ebbba9c0ef1eade03c96d35.zip | |
Normalise include statements in keyboard code (#11185)
81 files changed, 108 insertions, 291 deletions
diff --git a/drivers/chibios/serial_usart.c b/drivers/chibios/serial_usart.c index ded78410e..a3e21f90b 100644 --- a/drivers/chibios/serial_usart.c +++ b/drivers/chibios/serial_usart.c | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | #include "quantum.h" | 1 | #include "quantum.h" |
| 2 | #include "serial.h" | 2 | #include "serial.h" |
| 3 | #include "printf.h" | 3 | #include "print.h" |
| 4 | 4 | ||
| 5 | #include <ch.h> | 5 | #include <ch.h> |
| 6 | #include <hal.h> | 6 | #include <hal.h> |
diff --git a/drivers/qwiic/micro_oled.c b/drivers/qwiic/micro_oled.c index f63cf2e64..c7a4ee081 100644 --- a/drivers/qwiic/micro_oled.c +++ b/drivers/qwiic/micro_oled.c | |||
| @@ -32,7 +32,7 @@ | |||
| 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" |
| 35 | #include "string.h" | 35 | #include <string.h> |
| 36 | 36 | ||
| 37 | #define TOTALFONTS 2 | 37 | #define TOTALFONTS 2 |
| 38 | const unsigned char* fonts_pointer[] = {font5x7, font8x16}; | 38 | const unsigned char* fonts_pointer[] = {font5x7, font8x16}; |
diff --git a/keyboards/40percentclub/ut47/led.c b/keyboards/40percentclub/ut47/led.c index 9458c038f..f5d8ffc12 100644 --- a/keyboards/40percentclub/ut47/led.c +++ b/keyboards/40percentclub/ut47/led.c | |||
| @@ -16,7 +16,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 16 | */ | 16 | */ |
| 17 | 17 | ||
| 18 | #include <avr/io.h> | 18 | #include <avr/io.h> |
| 19 | #include "stdint.h" | 19 | #include <stdint.h> |
| 20 | #include "led.h" | 20 | #include "led.h" |
| 21 | 21 | ||
| 22 | 22 | ||
diff --git a/keyboards/ai03/orbit/matrix.h b/keyboards/ai03/orbit/matrix.h index c2bdd3098..664372b76 100644 --- a/keyboards/ai03/orbit/matrix.h +++ b/keyboards/ai03/orbit/matrix.h | |||
| @@ -1,3 +1,3 @@ | |||
| 1 | #pragma once | 1 | #pragma once |
| 2 | 2 | ||
| 3 | #include <common/matrix.h> | 3 | #include "common/matrix.h" |
diff --git a/keyboards/ai03/orbit/transport.h b/keyboards/ai03/orbit/transport.h index 422e2ecb9..67597652f 100644 --- a/keyboards/ai03/orbit/transport.h +++ b/keyboards/ai03/orbit/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 | #define ROWS_PER_HAND (MATRIX_ROWS/2) | 5 | #define ROWS_PER_HAND (MATRIX_ROWS/2) |
| 6 | 6 | ||
diff --git a/keyboards/akegata_denki/device_one/boards/DEVICE_ONE/board.c b/keyboards/akegata_denki/device_one/boards/DEVICE_ONE/board.c index 8e0303523..20b857d00 100644 --- a/keyboards/akegata_denki/device_one/boards/DEVICE_ONE/board.c +++ b/keyboards/akegata_denki/device_one/boards/DEVICE_ONE/board.c | |||
| @@ -16,8 +16,8 @@ | |||
| 16 | * generator plugin. Do not edit manually. | 16 | * generator plugin. Do not edit manually. |
| 17 | */ | 17 | */ |
| 18 | 18 | ||
| 19 | #include "hal.h" | 19 | #include <hal.h> |
| 20 | #include "stm32_gpio.h" | 20 | #include <stm32_gpio.h> |
| 21 | 21 | ||
| 22 | /*===========================================================================*/ | 22 | /*===========================================================================*/ |
| 23 | /* Driver local definitions. */ | 23 | /* Driver local definitions. */ |
diff --git a/keyboards/cannonkeys/bluepill/keyboard.c b/keyboards/cannonkeys/bluepill/keyboard.c index c2e5946d4..6a8edd4a9 100644 --- a/keyboards/cannonkeys/bluepill/keyboard.c +++ b/keyboards/cannonkeys/bluepill/keyboard.c | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | #include "ch.h" | 1 | #include <ch.h> |
| 2 | #include "hal.h" | 2 | #include <hal.h> |
| 3 | #include "util.h" | 3 | #include "util.h" |
| 4 | #include "quantum.h" | 4 | #include "quantum.h" |
| 5 | 5 | ||
diff --git a/keyboards/cannonkeys/bluepill/ws2812.c b/keyboards/cannonkeys/bluepill/ws2812.c index d30806d56..779e90519 100644 --- a/keyboards/cannonkeys/bluepill/ws2812.c +++ b/keyboards/cannonkeys/bluepill/ws2812.c | |||
| @@ -6,7 +6,7 @@ | |||
| 6 | */ | 6 | */ |
| 7 | 7 | ||
| 8 | #include "ws2812.h" | 8 | #include "ws2812.h" |
| 9 | #include "stdlib.h" | 9 | #include <stdlib.h> |
| 10 | 10 | ||
| 11 | #define BYTES_FOR_LED_BYTE 4 | 11 | #define BYTES_FOR_LED_BYTE 4 |
| 12 | #define NB_COLORS 3 | 12 | #define NB_COLORS 3 |
diff --git a/keyboards/cannonkeys/satisfaction75/led.c b/keyboards/cannonkeys/satisfaction75/led.c index 3ddcec202..18ef06acf 100644 --- a/keyboards/cannonkeys/satisfaction75/led.c +++ b/keyboards/cannonkeys/satisfaction75/led.c | |||
| @@ -15,10 +15,9 @@ You should have received a copy of the GNU General Public License | |||
| 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 "hal.h" | 18 | #include <hal.h> |
| 19 | #include "led_custom.h" | 19 | #include "led_custom.h" |
| 20 | #include "satisfaction75.h" | 20 | #include "satisfaction75.h" |
| 21 | #include "printf.h" | ||
| 22 | 21 | ||
| 23 | static void breathing_callback(PWMDriver *pwmp); | 22 | static void breathing_callback(PWMDriver *pwmp); |
| 24 | 23 | ||
diff --git a/keyboards/cannonkeys/satisfaction75/satisfaction75.c b/keyboards/cannonkeys/satisfaction75/satisfaction75.c index c0ea68669..fd85b8230 100644 --- a/keyboards/cannonkeys/satisfaction75/satisfaction75.c +++ b/keyboards/cannonkeys/satisfaction75/satisfaction75.c | |||
| @@ -2,8 +2,8 @@ | |||
| 2 | #include "print.h" | 2 | #include "print.h" |
| 3 | #include "debug.h" | 3 | #include "debug.h" |
| 4 | 4 | ||
| 5 | #include "ch.h" | 5 | #include <ch.h> |
| 6 | #include "hal.h" | 6 | #include <hal.h> |
| 7 | 7 | ||
| 8 | #ifdef QWIIC_MICRO_OLED_ENABLE | 8 | #ifdef QWIIC_MICRO_OLED_ENABLE |
| 9 | #include "micro_oled.h" | 9 | #include "micro_oled.h" |
diff --git a/keyboards/chavdai40/boards/GENERIC_STM32_F042X6/board.c b/keyboards/chavdai40/boards/GENERIC_STM32_F042X6/board.c index 2bd2c5e21..faf576541 100644 --- a/keyboards/chavdai40/boards/GENERIC_STM32_F042X6/board.c +++ b/keyboards/chavdai40/boards/GENERIC_STM32_F042X6/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/keyboards/clueboard/60/led.c b/keyboards/clueboard/60/led.c index 20756f1e7..ad11ad5d4 100644 --- a/keyboards/clueboard/60/led.c +++ b/keyboards/clueboard/60/led.c | |||
| @@ -15,8 +15,8 @@ | |||
| 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 "hal.h" | 18 | #include <hal.h> |
| 19 | #include "printf.h" | 19 | #include "print.h" |
| 20 | 20 | ||
| 21 | #ifdef BACKLIGHT_ENABLE | 21 | #ifdef BACKLIGHT_ENABLE |
| 22 | #include "backlight.h" | 22 | #include "backlight.h" |
diff --git a/keyboards/clueboard/66_hotswap/gen1/led.c b/keyboards/clueboard/66_hotswap/gen1/led.c deleted file mode 100644 index f67259d2e..000000000 --- a/keyboards/clueboard/66_hotswap/gen1/led.c +++ /dev/null | |||
| @@ -1,20 +0,0 @@ | |||
| 1 | /* | ||
| 2 | * Copyright 2017 skully <skullydazed@gmail.com> | ||
| 3 | * | ||
| 4 | * This program is free software: you can redistribute it and/or modify | ||
| 5 | * it under the terms of the GNU General Public License as published by | ||
| 6 | * the Free Software Foundation, either version 2 of the License, or | ||
| 7 | * (at your option) any later version. | ||
| 8 | * | ||
| 9 | * This program is distributed in the hope that it will be useful, | ||
| 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 12 | * GNU General Public License for more details. | ||
| 13 | * | ||
| 14 | * You should have received a copy of the GNU General Public License | ||
| 15 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 16 | */ | ||
| 17 | |||
| 18 | #include "hal.h" | ||
| 19 | #include "led.h" | ||
| 20 | #include "printf.h" | ||
diff --git a/keyboards/clueboard/66_hotswap/gen1/matrix.c b/keyboards/clueboard/66_hotswap/gen1/matrix.c deleted file mode 100644 index 05386215e..000000000 --- a/keyboards/clueboard/66_hotswap/gen1/matrix.c +++ /dev/null | |||
| @@ -1,159 +0,0 @@ | |||
| 1 | #include <stdint.h> | ||
| 2 | #include <stdbool.h> | ||
| 3 | #include <string.h> | ||
| 4 | #include "hal.h" | ||
| 5 | #include "timer.h" | ||
| 6 | #include "wait.h" | ||
| 7 | #include "printf.h" | ||
| 8 | #include "matrix.h" | ||
| 9 | #include "action.h" | ||
| 10 | #include "keycode.h" | ||
| 11 | #include <string.h> | ||
| 12 | |||
| 13 | /* | ||
| 14 | * #define MATRIX_ROW_PINS { PB11, PA6, PA3, PA2, PA1, PB5, PB6, PC15, PC14, PC13 } | ||
| 15 | * #define MATRIX_COL_PINS { PB10, PB2, PB1, PB0, PA7, PB4, PB3, PB7 } | ||
| 16 | */ | ||
| 17 | /* matrix state(1:on, 0:off) */ | ||
| 18 | static matrix_row_t matrix[MATRIX_ROWS]; | ||
| 19 | static matrix_row_t matrix_debouncing[MATRIX_COLS]; | ||
| 20 | static bool debouncing = false; | ||
| 21 | static uint16_t debouncing_time = 0; | ||
| 22 | |||
| 23 | __attribute__ ((weak)) | ||
| 24 | void matrix_init_user(void) {} | ||
| 25 | |||
| 26 | __attribute__ ((weak)) | ||
| 27 | void matrix_scan_user(void) {} | ||
| 28 | |||
| 29 | __attribute__ ((weak)) | ||
| 30 | void matrix_init_kb(void) { | ||
| 31 | matrix_init_user(); | ||
| 32 | } | ||
| 33 | |||
| 34 | __attribute__ ((weak)) | ||
| 35 | void matrix_scan_kb(void) { | ||
| 36 | matrix_scan_user(); | ||
| 37 | } | ||
| 38 | |||
| 39 | void matrix_init(void) { | ||
| 40 | printf("matrix init\n"); | ||
| 41 | //debug_matrix = true; | ||
| 42 | |||
| 43 | // actual matrix setup | ||
| 44 | palSetPadMode(GPIOB, 10, PAL_MODE_OUTPUT_PUSHPULL); | ||
| 45 | palSetPadMode(GPIOB, 2, PAL_MODE_OUTPUT_PUSHPULL); | ||
| 46 | palSetPadMode(GPIOB, 1, PAL_MODE_OUTPUT_PUSHPULL); | ||
| 47 | palSetPadMode(GPIOB, 0, PAL_MODE_OUTPUT_PUSHPULL); | ||
| 48 | palSetPadMode(GPIOA, 7, PAL_MODE_OUTPUT_PUSHPULL); | ||
| 49 | palSetPadMode(GPIOB, 4, PAL_MODE_OUTPUT_PUSHPULL); | ||
| 50 | palSetPadMode(GPIOB, 3, PAL_MODE_OUTPUT_PUSHPULL); | ||
| 51 | palSetPadMode(GPIOB, 7, PAL_MODE_OUTPUT_PUSHPULL); | ||
| 52 | |||
| 53 | palSetPadMode(GPIOB, 11, PAL_MODE_INPUT_PULLDOWN); | ||
| 54 | palSetPadMode(GPIOA, 6, PAL_MODE_INPUT_PULLDOWN); | ||
| 55 | palSetPadMode(GPIOA, 3, PAL_MODE_INPUT_PULLDOWN); | ||
| 56 | palSetPadMode(GPIOA, 2, PAL_MODE_INPUT_PULLDOWN); | ||
| 57 | palSetPadMode(GPIOA, 1, PAL_MODE_INPUT_PULLDOWN); | ||
| 58 | palSetPadMode(GPIOB, 5, PAL_MODE_INPUT_PULLDOWN); | ||
| 59 | palSetPadMode(GPIOB, 6, PAL_MODE_INPUT_PULLDOWN); | ||
| 60 | palSetPadMode(GPIOC, 15, PAL_MODE_INPUT_PULLDOWN); | ||
| 61 | palSetPadMode(GPIOC, 14, PAL_MODE_INPUT_PULLDOWN); | ||
| 62 | palSetPadMode(GPIOC, 13, PAL_MODE_INPUT_PULLDOWN); | ||
| 63 | |||
| 64 | memset(matrix, 0, MATRIX_ROWS * sizeof(matrix_row_t)); | ||
| 65 | memset(matrix_debouncing, 0, MATRIX_COLS * sizeof(matrix_row_t)); | ||
| 66 | |||
| 67 | matrix_init_quantum(); | ||
| 68 | } | ||
| 69 | |||
| 70 | uint8_t matrix_scan(void) { | ||
| 71 | // actual matrix | ||
| 72 | for (int col = 0; col < MATRIX_COLS; col++) { | ||
| 73 | matrix_row_t data = 0; | ||
| 74 | |||
| 75 | // strobe col { PB10, PB2, PB1, PB0, PA7, PB4, PB3, PB7 } | ||
| 76 | switch (col) { | ||
| 77 | case 0: palSetPad(GPIOB, 10); break; | ||
| 78 | case 1: palSetPad(GPIOB, 2); break; | ||
| 79 | case 2: palSetPad(GPIOB, 1); break; | ||
| 80 | case 3: palSetPad(GPIOB, 0); break; | ||
| 81 | case 4: palSetPad(GPIOA, 7); break; | ||
| 82 | case 5: palSetPad(GPIOB, 4); break; | ||
| 83 | case 6: palSetPad(GPIOB, 3); break; | ||
| 84 | case 7: palSetPad(GPIOB, 7); break; | ||
| 85 | } | ||
| 86 | |||
| 87 | // need wait to settle pin state | ||
| 88 | wait_us(20); | ||
| 89 | |||
| 90 | // read row data { PB11, PA6, PA3, PA2, PA1, PB5, PB6, PC15, PC14, PC13 } | ||
| 91 | data = ( | ||
| 92 | (palReadPad(GPIOB, 11) << 0 ) | | ||
| 93 | (palReadPad(GPIOA, 6) << 1 ) | | ||
| 94 | (palReadPad(GPIOA, 3) << 2 ) | | ||
| 95 | (palReadPad(GPIOA, 2) << 3 ) | | ||
| 96 | (palReadPad(GPIOA, 1) << 4 ) | | ||
| 97 | (palReadPad(GPIOB, 5) << 5 ) | | ||
| 98 | (palReadPad(GPIOB, 6) << 6 ) | | ||
| 99 | (palReadPad(GPIOC, 15) << 7 ) | | ||
| 100 | (palReadPad(GPIOC, 14) << 8 ) | | ||
| 101 | (palReadPad(GPIOC, 13) << 9 ) | ||
| 102 | ); | ||
| 103 | |||
| 104 | // unstrobe col { B11, B10, B2, B1, A7, B0 } | ||
| 105 | switch (col) { | ||
| 106 | case 0: palClearPad(GPIOB, 10); break; | ||
| 107 | case 1: palClearPad(GPIOB, 2); break; | ||
| 108 | case 2: palClearPad(GPIOB, 1); break; | ||
| 109 | case 3: palClearPad(GPIOB, 0); break; | ||
| 110 | case 4: palClearPad(GPIOA, 7); break; | ||
| 111 | case 5: palClearPad(GPIOB, 4); break; | ||
| 112 | case 6: palClearPad(GPIOB, 3); break; | ||
| 113 | case 7: palClearPad(GPIOB, 7); break; | ||
| 114 | } | ||
| 115 | |||
| 116 | if (matrix_debouncing[col] != data) { | ||
| 117 | matrix_debouncing[col] = data; | ||
| 118 | debouncing = true; | ||
| 119 | debouncing_time = timer_read(); | ||
| 120 | } | ||
| 121 | } | ||
| 122 | |||
| 123 | if (debouncing && timer_elapsed(debouncing_time) > DEBOUNCE) { | ||
| 124 | for (int row = 0; row < MATRIX_ROWS; row++) { | ||
| 125 | matrix[row] = 0; | ||
| 126 | for (int col = 0; col < MATRIX_COLS; col++) { | ||
| 127 | matrix[row] |= ((matrix_debouncing[col] & (1 << row) ? 1 : 0) << col); | ||
| 128 | } | ||
| 129 | } | ||
| 130 | debouncing = false; | ||
| 131 | } | ||
| 132 | |||
| 133 | matrix_scan_quantum(); | ||
| 134 | |||
| 135 | return 1; | ||
| 136 | } | ||
| 137 | |||
| 138 | bool matrix_is_on(uint8_t row, uint8_t col) { | ||
| 139 | return (matrix[row] & (1<<col)); | ||
| 140 | } | ||
| 141 | |||
| 142 | matrix_row_t matrix_get_row(uint16_t row) { | ||
| 143 | return matrix[row]; | ||
| 144 | } | ||
| 145 | |||
| 146 | void matrix_print(void) { | ||
| 147 | printf("\nr/c 01234567\n"); | ||
| 148 | for (uint8_t row = 0; row < MATRIX_ROWS; row++) { | ||
| 149 | printf("%X0: ", row); | ||
| 150 | matrix_row_t data = matrix_get_row(row); | ||
| 151 | for (int col = 0; col < MATRIX_COLS; col++) { | ||
| 152 | if (data & (1<<col)) | ||
| 153 | printf("1"); | ||
| 154 | else | ||
| 155 | printf("0"); | ||
| 156 | } | ||
| 157 | printf("\n"); | ||
| 158 | } | ||
| 159 | } | ||
diff --git a/keyboards/clueboard/66_hotswap/gen1/rules.mk b/keyboards/clueboard/66_hotswap/gen1/rules.mk index 3667d63b7..48740725a 100644 --- a/keyboards/clueboard/66_hotswap/gen1/rules.mk +++ b/keyboards/clueboard/66_hotswap/gen1/rules.mk | |||
| @@ -16,10 +16,7 @@ CONSOLE_ENABLE = yes # Console for debug | |||
| 16 | COMMAND_ENABLE = yes # Commands for debug and configuration | 16 | COMMAND_ENABLE = yes # Commands for debug and configuration |
| 17 | #SLEEP_LED_ENABLE = yes # Breathing sleep LED during USB suspend | 17 | #SLEEP_LED_ENABLE = yes # Breathing sleep LED during USB suspend |
| 18 | NKRO_ENABLE = yes # USB Nkey Rollover | 18 | NKRO_ENABLE = yes # USB Nkey Rollover |
| 19 | #CUSTOM_MATRIX = yes # Custom matrix file | ||
| 20 | AUDIO_ENABLE = yes | 19 | AUDIO_ENABLE = yes |
| 21 | # SERIAL_LINK_ENABLE = yes | 20 | # SERIAL_LINK_ENABLE = yes |
| 22 | 21 | ||
| 23 | # project specific files | ||
| 24 | SRC = led.c | ||
| 25 | LAYOUTS = 66_ansi | 22 | LAYOUTS = 66_ansi |
diff --git a/keyboards/converter/adb_usb/led.h b/keyboards/converter/adb_usb/led.h index 19952fae2..b33b6894e 100644 --- a/keyboards/converter/adb_usb/led.h +++ b/keyboards/converter/adb_usb/led.h | |||
| @@ -19,7 +19,7 @@ Ported to QMK by Peter Roe <pete@13bit.me> | |||
| 19 | 19 | ||
| 20 | #ifndef LED_H | 20 | #ifndef LED_H |
| 21 | #define LED_H | 21 | #define LED_H |
| 22 | #include "stdint.h" | 22 | #include <stdint.h> |
| 23 | 23 | ||
| 24 | 24 | ||
| 25 | /* keyboard LEDs */ | 25 | /* keyboard LEDs */ |
diff --git a/keyboards/converter/hp_46010a/matrix.c b/keyboards/converter/hp_46010a/matrix.c index ac9224087..72a098746 100644 --- a/keyboards/converter/hp_46010a/matrix.c +++ b/keyboards/converter/hp_46010a/matrix.c | |||
| @@ -29,7 +29,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 29 | #include "util.h" | 29 | #include "util.h" |
| 30 | #include "matrix.h" | 30 | #include "matrix.h" |
| 31 | #include "timer.h" | 31 | #include "timer.h" |
| 32 | #include "LUFA/Drivers/Peripheral/SPI.h" | 32 | #include <LUFA/Drivers/Peripheral/SPI.h> |
| 33 | 33 | ||
| 34 | #include "config.h" | 34 | #include "config.h" |
| 35 | 35 | ||
diff --git a/keyboards/converter/ibm_terminal/led.c b/keyboards/converter/ibm_terminal/led.c index e448e84ec..e0f31ee4e 100644 --- a/keyboards/converter/ibm_terminal/led.c +++ b/keyboards/converter/ibm_terminal/led.c | |||
| @@ -15,7 +15,7 @@ You should have received a copy of the GNU General Public License | |||
| 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 "stdint.h" | 18 | #include <stdint.h> |
| 19 | #include "ps2.h" | 19 | #include "ps2.h" |
| 20 | #include "led.h" | 20 | #include "led.h" |
| 21 | 21 | ||
diff --git a/keyboards/converter/siemens_tastatur/matrix.c b/keyboards/converter/siemens_tastatur/matrix.c index 9fcfe9fdf..2da4e33d3 100644 --- a/keyboards/converter/siemens_tastatur/matrix.c +++ b/keyboards/converter/siemens_tastatur/matrix.c | |||
| @@ -22,8 +22,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 22 | #include "wait.h" | 22 | #include "wait.h" |
| 23 | #include "print.h" | 23 | #include "print.h" |
| 24 | #include "matrix.h" | 24 | #include "matrix.h" |
| 25 | #include "ch.h" | 25 | #include <ch.h> |
| 26 | #include "hal.h" | 26 | #include <hal.h> |
| 27 | 27 | ||
| 28 | static matrix_row_t matrix[MATRIX_ROWS]; | 28 | static matrix_row_t matrix[MATRIX_ROWS]; |
| 29 | static matrix_row_t matrix_debouncing[MATRIX_ROWS]; | 29 | static matrix_row_t matrix_debouncing[MATRIX_ROWS]; |
diff --git a/keyboards/crkbd/keymaps/vlukash_trackpad_right/trackpad.h b/keyboards/crkbd/keymaps/vlukash_trackpad_right/trackpad.h index 755abc7de..cce460a97 100644 --- a/keyboards/crkbd/keymaps/vlukash_trackpad_right/trackpad.h +++ b/keyboards/crkbd/keymaps/vlukash_trackpad_right/trackpad.h | |||
| @@ -4,7 +4,7 @@ | |||
| 4 | #include "quantum.h" | 4 | #include "quantum.h" |
| 5 | #include "report.h" | 5 | #include "report.h" |
| 6 | #include <util/delay.h> | 6 | #include <util/delay.h> |
| 7 | #include "../../lib/lufa/LUFA/Drivers/Peripheral/SPI.h" | 7 | #include <LUFA/Drivers/Peripheral/SPI.h> |
| 8 | 8 | ||
| 9 | // Trackpad speed adjustments | 9 | // Trackpad speed adjustments |
| 10 | #define POINTER_SPEED_MULTIPLIER 2 | 10 | #define POINTER_SPEED_MULTIPLIER 2 |
diff --git a/keyboards/crkbd/rev1/legacy/config.h b/keyboards/crkbd/rev1/legacy/config.h index 9e3676414..eae6f788a 100644 --- a/keyboards/crkbd/rev1/legacy/config.h +++ b/keyboards/crkbd/rev1/legacy/config.h | |||
| @@ -18,6 +18,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 18 | 18 | ||
| 19 | #pragma once | 19 | #pragma once |
| 20 | 20 | ||
| 21 | #include <serial_config.h> | 21 | #include "serial_config.h" |
| 22 | 22 | ||
| 23 | #define PRODUCT Corne Keyboard Rev.1 (Legacy Split) | 23 | #define PRODUCT Corne Keyboard Rev.1 (Legacy Split) |
diff --git a/keyboards/crkbd/rev1/legacy/split_scomm.c b/keyboards/crkbd/rev1/legacy/split_scomm.c index c14bb32a4..eccf2f3d2 100644 --- a/keyboards/crkbd/rev1/legacy/split_scomm.c +++ b/keyboards/crkbd/rev1/legacy/split_scomm.c | |||
| @@ -23,7 +23,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 23 | #include <stdbool.h> | 23 | #include <stdbool.h> |
| 24 | #include <stdint.h> | 24 | #include <stdint.h> |
| 25 | #include <stddef.h> | 25 | #include <stddef.h> |
| 26 | #include <split_scomm.h> | 26 | #include "split_scomm.h" |
| 27 | #include "serial.h" | 27 | #include "serial.h" |
| 28 | #ifdef CONSOLE_ENABLE | 28 | #ifdef CONSOLE_ENABLE |
| 29 | #include "debug.h" | 29 | #include "debug.h" |
diff --git a/keyboards/cu75/cu75.c b/keyboards/cu75/cu75.c index 60c92b708..80941df39 100644 --- a/keyboards/cu75/cu75.c +++ b/keyboards/cu75/cu75.c | |||
| @@ -10,7 +10,7 @@ | |||
| 10 | 10 | ||
| 11 | #ifdef AUDIO_ENABLE | 11 | #ifdef AUDIO_ENABLE |
| 12 | float test_sound[][2] = SONG(STARTUP_SOUND); | 12 | float test_sound[][2] = SONG(STARTUP_SOUND); |
| 13 | #include <audio/audio.h> | 13 | #include "audio.h" |
| 14 | #endif | 14 | #endif |
| 15 | 15 | ||
| 16 | uint16_t click_hz = CLICK_HZ; | 16 | uint16_t click_hz = CLICK_HZ; |
diff --git a/keyboards/dekunukem/duckypad/keymaps/default/keymap.c b/keyboards/dekunukem/duckypad/keymaps/default/keymap.c index 3b30c42ff..a87caa2cd 100644 --- a/keyboards/dekunukem/duckypad/keymaps/default/keymap.c +++ b/keyboards/dekunukem/duckypad/keymaps/default/keymap.c | |||
| @@ -20,7 +20,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 20 | 20 | ||
| 21 | #include QMK_KEYBOARD_H | 21 | #include QMK_KEYBOARD_H |
| 22 | 22 | ||
| 23 | #include "stdio.h" | 23 | #include <stdio.h> |
| 24 | #include <unistd.h> | 24 | #include <unistd.h> |
| 25 | #include <string.h> | 25 | #include <string.h> |
| 26 | 26 | ||
diff --git a/keyboards/dm9records/ergoinu/config.h b/keyboards/dm9records/ergoinu/config.h index dfc8a5293..ce3bf1e78 100644 --- a/keyboards/dm9records/ergoinu/config.h +++ b/keyboards/dm9records/ergoinu/config.h | |||
| @@ -20,7 +20,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 20 | #pragma once | 20 | #pragma once |
| 21 | 21 | ||
| 22 | #include "config_common.h" | 22 | #include "config_common.h" |
| 23 | #include <serial_config.h> | 23 | #include "serial_config.h" |
| 24 | 24 | ||
| 25 | /* USB Device descriptor parameter | 25 | /* USB Device descriptor parameter |
| 26 | VID & PID are lisenced from microchip sublisence program, Don't use other project! */ | 26 | VID & PID are lisenced from microchip sublisence program, Don't use other project! */ |
diff --git a/keyboards/ergodone/twimaster.c b/keyboards/ergodone/twimaster.c index f91c08e6e..d6f3f7840 100644 --- a/keyboards/ergodone/twimaster.c +++ b/keyboards/ergodone/twimaster.c | |||
| @@ -9,7 +9,7 @@ | |||
| 9 | #include <inttypes.h> | 9 | #include <inttypes.h> |
| 10 | #include <compat/twi.h> | 10 | #include <compat/twi.h> |
| 11 | 11 | ||
| 12 | #include <i2cmaster.h> | 12 | #include "i2cmaster.h" |
| 13 | 13 | ||
| 14 | 14 | ||
| 15 | /* define CPU frequency in Mhz here if not defined in Makefile */ | 15 | /* define CPU frequency in Mhz here if not defined in Makefile */ |
diff --git a/keyboards/ergodox_infinity/ergodox_infinity.c b/keyboards/ergodox_infinity/ergodox_infinity.c index c69c1eb36..a9962f96a 100644 --- a/keyboards/ergodox_infinity/ergodox_infinity.c +++ b/keyboards/ergodox_infinity/ergodox_infinity.c | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | #include QMK_KEYBOARD_H | 1 | #include QMK_KEYBOARD_H |
| 2 | #include "ch.h" | 2 | #include <ch.h> |
| 3 | #include "hal.h" | 3 | #include <hal.h> |
| 4 | #include "serial_link/system/serial_link.h" | 4 | #include "serial_link/system/serial_link.h" |
| 5 | #ifdef VISUALIZER_ENABLE | 5 | #ifdef VISUALIZER_ENABLE |
| 6 | #include "lcd_backlight.h" | 6 | #include "lcd_backlight.h" |
diff --git a/keyboards/ergodox_infinity/led.c b/keyboards/ergodox_infinity/led.c index 8175c1c5c..0b50247d7 100644 --- a/keyboards/ergodox_infinity/led.c +++ b/keyboards/ergodox_infinity/led.c | |||
| @@ -15,7 +15,7 @@ You should have received a copy of the GNU General Public License | |||
| 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 "hal.h" | 18 | #include <hal.h> |
| 19 | 19 | ||
| 20 | #include "led.h" | 20 | #include "led.h" |
| 21 | 21 | ||
diff --git a/keyboards/ergodox_infinity/matrix.c b/keyboards/ergodox_infinity/matrix.c index 941367a36..7baacd24d 100644 --- a/keyboards/ergodox_infinity/matrix.c +++ b/keyboards/ergodox_infinity/matrix.c | |||
| @@ -18,7 +18,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 18 | #include <stdint.h> | 18 | #include <stdint.h> |
| 19 | #include <stdbool.h> | 19 | #include <stdbool.h> |
| 20 | #include <string.h> | 20 | #include <string.h> |
| 21 | #include "hal.h" | 21 | #include <hal.h> |
| 22 | #include "timer.h" | 22 | #include "timer.h" |
| 23 | #include "wait.h" | 23 | #include "wait.h" |
| 24 | #include "print.h" | 24 | #include "print.h" |
diff --git a/keyboards/ergodox_stm32/boards/ERGODOX_STM32_BOARD/board.c b/keyboards/ergodox_stm32/boards/ERGODOX_STM32_BOARD/board.c index d953d6a13..48844e34a 100644 --- a/keyboards/ergodox_stm32/boards/ERGODOX_STM32_BOARD/board.c +++ b/keyboards/ergodox_stm32/boards/ERGODOX_STM32_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 | /** | 19 | /** |
| 20 | * @brief PAL setup. | 20 | * @brief PAL setup. |
diff --git a/keyboards/ergodox_stm32/ergodox_stm32.h b/keyboards/ergodox_stm32/ergodox_stm32.h index be1c2e9c3..b84b101f3 100644 --- a/keyboards/ergodox_stm32/ergodox_stm32.h +++ b/keyboards/ergodox_stm32/ergodox_stm32.h | |||
| @@ -4,7 +4,7 @@ | |||
| 4 | #include "action_layer.h" | 4 | #include "action_layer.h" |
| 5 | #include <stdint.h> | 5 | #include <stdint.h> |
| 6 | #include <stdbool.h> | 6 | #include <stdbool.h> |
| 7 | #include "hal.h" | 7 | #include <hal.h> |
| 8 | 8 | ||
| 9 | // #define I2C_ADDR 0b01000000 | 9 | // #define I2C_ADDR 0b01000000 |
| 10 | #define I2C_ADDR 0b01000000 | 10 | #define I2C_ADDR 0b01000000 |
diff --git a/keyboards/geekboards/macropad_v2/keymaps/via/keymap.c b/keyboards/geekboards/macropad_v2/keymaps/via/keymap.c index 6ca3402c3..b0e5b9327 100644 --- a/keyboards/geekboards/macropad_v2/keymaps/via/keymap.c +++ b/keyboards/geekboards/macropad_v2/keymaps/via/keymap.c | |||
| @@ -14,7 +14,7 @@ | |||
| 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 | #include QMK_KEYBOARD_H | 16 | #include QMK_KEYBOARD_H |
| 17 | #include "string.h" | 17 | #include <string.h> |
| 18 | 18 | ||
| 19 | bool is_alt_tab_active = false; | 19 | bool is_alt_tab_active = false; |
| 20 | uint16_t alt_tab_timer = 0; | 20 | uint16_t alt_tab_timer = 0; |
diff --git a/keyboards/hadron/ver2/keymaps/default/keymap.c b/keyboards/hadron/ver2/keymaps/default/keymap.c index 3b3dd58e2..8e3d50d3d 100644 --- a/keyboards/hadron/ver2/keymaps/default/keymap.c +++ b/keyboards/hadron/ver2/keymaps/default/keymap.c | |||
| @@ -309,7 +309,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) { | |||
| 309 | 309 | ||
| 310 | //Functions for ver2 | 310 | //Functions for ver2 |
| 311 | #ifdef KEYBOARD_hadron_ver2 | 311 | #ifdef KEYBOARD_hadron_ver2 |
| 312 | #include "LUFA/Drivers/Peripheral/TWI.h" | 312 | #include <LUFA/Drivers/Peripheral/TWI.h> |
| 313 | void matrix_init_user(void) { | 313 | void matrix_init_user(void) { |
| 314 | #ifdef USE_I2C | 314 | #ifdef USE_I2C |
| 315 | i2c_master_init(); | 315 | i2c_master_init(); |
diff --git a/keyboards/hadron/ver2/keymaps/side_numpad/keymap.c b/keyboards/hadron/ver2/keymaps/side_numpad/keymap.c index 0e5ab7453..c63ae9385 100644 --- a/keyboards/hadron/ver2/keymaps/side_numpad/keymap.c +++ b/keyboards/hadron/ver2/keymaps/side_numpad/keymap.c | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | #include QMK_KEYBOARD_H | 1 | #include QMK_KEYBOARD_H |
| 2 | #include "LUFA/Drivers/Peripheral/TWI.h" | 2 | #include <LUFA/Drivers/Peripheral/TWI.h> |
| 3 | #ifdef AUDIO_ENABLE | 3 | #ifdef AUDIO_ENABLE |
| 4 | #include "audio.h" | 4 | #include "audio.h" |
| 5 | #endif | 5 | #endif |
diff --git a/keyboards/handwired/bluepill/bluepill70/led.c b/keyboards/handwired/bluepill/bluepill70/led.c index 5c557bbee..81437fb5e 100644 --- a/keyboards/handwired/bluepill/bluepill70/led.c +++ b/keyboards/handwired/bluepill/bluepill70/led.c | |||
| @@ -15,7 +15,7 @@ You should have received a copy of the GNU General Public License | |||
| 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 "hal.h" | 18 | #include <hal.h> |
| 19 | #include "led.h" | 19 | #include "led.h" |
| 20 | 20 | ||
| 21 | 21 | ||
diff --git a/keyboards/handwired/bluepill/bluepill70/matrix.c b/keyboards/handwired/bluepill/bluepill70/matrix.c index b2c38e522..4d281fe21 100644 --- a/keyboards/handwired/bluepill/bluepill70/matrix.c +++ b/keyboards/handwired/bluepill/bluepill70/matrix.c | |||
| @@ -15,8 +15,8 @@ You should have received a copy of the GNU General Public License | |||
| 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 "ch.h" | 18 | #include <ch.h> |
| 19 | #include "hal.h" | 19 | #include <hal.h> |
| 20 | 20 | ||
| 21 | /* | 21 | /* |
| 22 | * scan matrix | 22 | * scan matrix |
diff --git a/keyboards/handwired/bluepill/boards/GENERIC_STM32_F103/board.c b/keyboards/handwired/bluepill/boards/GENERIC_STM32_F103/board.c index 2809c9d18..64da24214 100644 --- a/keyboards/handwired/bluepill/boards/GENERIC_STM32_F103/board.c +++ b/keyboards/handwired/bluepill/boards/GENERIC_STM32_F103/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 | /** | 19 | /** |
| 20 | * @brief PAL setup. | 20 | * @brief PAL setup. |
diff --git a/keyboards/handwired/dactyl/twimaster.c b/keyboards/handwired/dactyl/twimaster.c index 2557f7e22..41684d3a6 100644 --- a/keyboards/handwired/dactyl/twimaster.c +++ b/keyboards/handwired/dactyl/twimaster.c | |||
| @@ -9,7 +9,7 @@ | |||
| 9 | #include <inttypes.h> | 9 | #include <inttypes.h> |
| 10 | #include <compat/twi.h> | 10 | #include <compat/twi.h> |
| 11 | 11 | ||
| 12 | #include <i2cmaster.h> | 12 | #include "i2cmaster.h" |
| 13 | 13 | ||
| 14 | /* define CPU frequency in Hz here if not defined in Makefile */ | 14 | /* define CPU frequency in Hz here if not defined in Makefile */ |
| 15 | #ifndef F_CPU | 15 | #ifndef F_CPU |
diff --git a/keyboards/handwired/dactyl_manuform/dmote/62key/keymaps/default/keymap.c b/keyboards/handwired/dactyl_manuform/dmote/62key/keymaps/default/keymap.c index 3770a6d68..25bd7da39 100644 --- a/keyboards/handwired/dactyl_manuform/dmote/62key/keymaps/default/keymap.c +++ b/keyboards/handwired/dactyl_manuform/dmote/62key/keymaps/default/keymap.c | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | #include "62key.h" | 1 | #include "62key.h" |
| 2 | #include "rgblight.h" | 2 | #include "rgblight.h" |
| 3 | #include <keymap_colemak.h> | 3 | #include "keymap_colemak.h" |
| 4 | #include <sendstring_colemak.h> | 4 | #include "sendstring_colemak.h" |
| 5 | 5 | ||
| 6 | 6 | ||
| 7 | // Automatic Layer ID: | 7 | // Automatic Layer ID: |
diff --git a/keyboards/handwired/promethium/promethium.h b/keyboards/handwired/promethium/promethium.h index b8d635220..f35e5429b 100644 --- a/keyboards/handwired/promethium/promethium.h +++ b/keyboards/handwired/promethium/promethium.h | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | #ifndef PROMETHIUM_H | 1 | #ifndef PROMETHIUM_H |
| 2 | #define PROMETHIUM_H | 2 | #define PROMETHIUM_H |
| 3 | 3 | ||
| 4 | #include "stdint.h" | 4 | #include <stdint.h> |
| 5 | 5 | ||
| 6 | void battery_poll(uint8_t level); | 6 | void battery_poll(uint8_t level); |
| 7 | void led_set_kb(uint8_t usb_led); | 7 | void led_set_kb(uint8_t usb_led); |
diff --git a/keyboards/helix/local_drivers/ssd1306.c b/keyboards/helix/local_drivers/ssd1306.c index c6fc4b785..1cfb38037 100644 --- a/keyboards/helix/local_drivers/ssd1306.c +++ b/keyboards/helix/local_drivers/ssd1306.c | |||
| @@ -8,7 +8,7 @@ | |||
| 8 | #ifndef LOCAL_GLCDFONT | 8 | #ifndef LOCAL_GLCDFONT |
| 9 | #include "common/glcdfont.c" | 9 | #include "common/glcdfont.c" |
| 10 | #else | 10 | #else |
| 11 | #include <helixfont.h> | 11 | #include "helixfont.h" |
| 12 | #endif | 12 | #endif |
| 13 | #ifdef PROTOCOL_LUFA | 13 | #ifdef PROTOCOL_LUFA |
| 14 | #include "lufa.h" | 14 | #include "lufa.h" |
diff --git a/keyboards/helix/rev1/config.h b/keyboards/helix/rev1/config.h index 6c6ebea68..7e9616ba1 100644 --- a/keyboards/helix/rev1/config.h +++ b/keyboards/helix/rev1/config.h | |||
| @@ -26,7 +26,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 26 | #define PRODUCT Helix Alpha | 26 | #define PRODUCT Helix Alpha |
| 27 | #define DESCRIPTION A split keyboard for the cheap makers | 27 | #define DESCRIPTION A split keyboard for the cheap makers |
| 28 | 28 | ||
| 29 | #include <serial_config.h> | 29 | #include "serial_config.h" |
| 30 | 30 | ||
| 31 | #define HELIX_ROWS 5 | 31 | #define HELIX_ROWS 5 |
| 32 | 32 | ||
diff --git a/keyboards/helix/rev1/keymaps/OLED_sample/keymap.c b/keyboards/helix/rev1/keymaps/OLED_sample/keymap.c index cc73e36fb..6838b90e5 100644 --- a/keyboards/helix/rev1/keymaps/OLED_sample/keymap.c +++ b/keyboards/helix/rev1/keymaps/OLED_sample/keymap.c | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | #include QMK_KEYBOARD_H | 1 | #include QMK_KEYBOARD_H |
| 2 | #include "bootloader.h" | 2 | #include "bootloader.h" |
| 3 | #include "LUFA/Drivers/Peripheral/TWI.h" | 3 | #include <LUFA/Drivers/Peripheral/TWI.h> |
| 4 | #ifdef AUDIO_ENABLE | 4 | #ifdef AUDIO_ENABLE |
| 5 | #include "audio.h" | 5 | #include "audio.h" |
| 6 | #endif | 6 | #endif |
diff --git a/keyboards/helix/rev2/keymaps/five_rows/oled_display.c b/keyboards/helix/rev2/keymaps/five_rows/oled_display.c index c1f039e5b..127d80cc7 100644 --- a/keyboards/helix/rev2/keymaps/five_rows/oled_display.c +++ b/keyboards/helix/rev2/keymaps/five_rows/oled_display.c | |||
| @@ -17,12 +17,12 @@ | |||
| 17 | #include QMK_KEYBOARD_H | 17 | #include QMK_KEYBOARD_H |
| 18 | #include <stdio.h> | 18 | #include <stdio.h> |
| 19 | #ifdef CONSOLE_ENABLE | 19 | #ifdef CONSOLE_ENABLE |
| 20 | #include <print.h> | 20 | #include "print.h" |
| 21 | #endif | 21 | #endif |
| 22 | #ifdef SSD1306OLED | 22 | #ifdef SSD1306OLED |
| 23 | #include "ssd1306.h" | 23 | #include "ssd1306.h" |
| 24 | #endif | 24 | #endif |
| 25 | #include "string.h" | 25 | #include <string.h> |
| 26 | #include "layer_number.h" | 26 | #include "layer_number.h" |
| 27 | 27 | ||
| 28 | extern int current_default_layer; | 28 | extern int current_default_layer; |
diff --git a/keyboards/helix/rev2/split_scomm.c b/keyboards/helix/rev2/split_scomm.c index ada786796..378781b98 100644 --- a/keyboards/helix/rev2/split_scomm.c +++ b/keyboards/helix/rev2/split_scomm.c | |||
| @@ -5,10 +5,10 @@ | |||
| 5 | #include <stdbool.h> | 5 | #include <stdbool.h> |
| 6 | #include <stdint.h> | 6 | #include <stdint.h> |
| 7 | #include <stddef.h> | 7 | #include <stddef.h> |
| 8 | #include <split_scomm.h> | 8 | #include "split_scomm.h" |
| 9 | #include "serial.h" | 9 | #include "serial.h" |
| 10 | #ifdef CONSOLE_ENABLE | 10 | #ifdef CONSOLE_ENABLE |
| 11 | #include <print.h> | 11 | #include "print.h" |
| 12 | #endif | 12 | #endif |
| 13 | 13 | ||
| 14 | uint8_t volatile serial_slave_buffer[SERIAL_SLAVE_BUFFER_LENGTH] = {0}; | 14 | uint8_t volatile serial_slave_buffer[SERIAL_SLAVE_BUFFER_LENGTH] = {0}; |
diff --git a/keyboards/helix/rev3_5rows/keymaps/five_rows/oled_display.c b/keyboards/helix/rev3_5rows/keymaps/five_rows/oled_display.c index c1f039e5b..127d80cc7 100644 --- a/keyboards/helix/rev3_5rows/keymaps/five_rows/oled_display.c +++ b/keyboards/helix/rev3_5rows/keymaps/five_rows/oled_display.c | |||
| @@ -17,12 +17,12 @@ | |||
| 17 | #include QMK_KEYBOARD_H | 17 | #include QMK_KEYBOARD_H |
| 18 | #include <stdio.h> | 18 | #include <stdio.h> |
| 19 | #ifdef CONSOLE_ENABLE | 19 | #ifdef CONSOLE_ENABLE |
| 20 | #include <print.h> | 20 | #include "print.h" |
| 21 | #endif | 21 | #endif |
| 22 | #ifdef SSD1306OLED | 22 | #ifdef SSD1306OLED |
| 23 | #include "ssd1306.h" | 23 | #include "ssd1306.h" |
| 24 | #endif | 24 | #endif |
| 25 | #include "string.h" | 25 | #include <string.h> |
| 26 | #include "layer_number.h" | 26 | #include "layer_number.h" |
| 27 | 27 | ||
| 28 | extern int current_default_layer; | 28 | extern int current_default_layer; |
diff --git a/keyboards/infinity60/led.c b/keyboards/infinity60/led.c index bef1f8623..8effcea81 100644 --- a/keyboards/infinity60/led.c +++ b/keyboards/infinity60/led.c | |||
| @@ -16,7 +16,7 @@ You should have received a copy of the GNU General Public License | |||
| 16 | along with this program. If not, see <http://www.gnu.org/licenses/>. | 16 | along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 17 | */ | 17 | */ |
| 18 | 18 | ||
| 19 | #include "hal.h" | 19 | #include <hal.h> |
| 20 | 20 | ||
| 21 | #include "led.h" | 21 | #include "led.h" |
| 22 | 22 | ||
diff --git a/keyboards/infinity60/led_controller.c b/keyboards/infinity60/led_controller.c index bc2457455..cf3edf20d 100644 --- a/keyboards/infinity60/led_controller.c +++ b/keyboards/infinity60/led_controller.c | |||
| @@ -22,8 +22,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 22 | * datasheet: http://www.issi.com/WW/pdf/31FL3731C.pdf | 22 | * datasheet: http://www.issi.com/WW/pdf/31FL3731C.pdf |
| 23 | */ | 23 | */ |
| 24 | 24 | ||
| 25 | #include "ch.h" | 25 | #include <ch.h> |
| 26 | #include "hal.h" | 26 | #include <hal.h> |
| 27 | #include "print.h" | 27 | #include "print.h" |
| 28 | #include "led.h" | 28 | #include "led.h" |
| 29 | #include "host.h" | 29 | #include "host.h" |
diff --git a/keyboards/infinity60/matrix.c b/keyboards/infinity60/matrix.c index ba16e6900..c147ceecb 100644 --- a/keyboards/infinity60/matrix.c +++ b/keyboards/infinity60/matrix.c | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | #include <stdint.h> | 1 | #include <stdint.h> |
| 2 | #include <stdbool.h> | 2 | #include <stdbool.h> |
| 3 | #include <string.h> | 3 | #include <string.h> |
| 4 | #include "hal.h" | 4 | #include <hal.h> |
| 5 | #include "timer.h" | 5 | #include "timer.h" |
| 6 | #include "wait.h" | 6 | #include "wait.h" |
| 7 | #include "print.h" | 7 | #include "print.h" |
diff --git a/keyboards/jm60/boards/JM60_BOARD/board.c b/keyboards/jm60/boards/JM60_BOARD/board.c index d953d6a13..48844e34a 100644 --- a/keyboards/jm60/boards/JM60_BOARD/board.c +++ b/keyboards/jm60/boards/JM60_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 | /** | 19 | /** |
| 20 | * @brief PAL setup. | 20 | * @brief PAL setup. |
diff --git a/keyboards/jm60/led.c b/keyboards/jm60/led.c index aed66c7c0..4ce0b3e26 100644 --- a/keyboards/jm60/led.c +++ b/keyboards/jm60/led.c | |||
| @@ -15,7 +15,7 @@ You should have received a copy of the GNU General Public License | |||
| 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 "hal.h" | 18 | #include <hal.h> |
| 19 | 19 | ||
| 20 | #include "led.h" | 20 | #include "led.h" |
| 21 | 21 | ||
diff --git a/keyboards/jm60/matrix.c b/keyboards/jm60/matrix.c index 01bb4a80d..e19d4f02b 100644 --- a/keyboards/jm60/matrix.c +++ b/keyboards/jm60/matrix.c | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | #include <stdint.h> | 1 | #include <stdint.h> |
| 2 | #include <stdbool.h> | 2 | #include <stdbool.h> |
| 3 | #include <string.h> | 3 | #include <string.h> |
| 4 | #include "hal.h" | 4 | #include <hal.h> |
| 5 | #include "timer.h" | 5 | #include "timer.h" |
| 6 | #include "wait.h" | 6 | #include "wait.h" |
| 7 | #include "print.h" | 7 | #include "print.h" |
diff --git a/keyboards/keyboardio/model01/config.h b/keyboards/keyboardio/model01/config.h index c2160979c..043e21cfa 100644 --- a/keyboards/keyboardio/model01/config.h +++ b/keyboards/keyboardio/model01/config.h | |||
| @@ -17,7 +17,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | #include <config_common.h> | 20 | #include "config_common.h" |
| 21 | 21 | ||
| 22 | /* USB Device descriptor parameter */ | 22 | /* USB Device descriptor parameter */ |
| 23 | #define VENDOR_ID 0x1209 | 23 | #define VENDOR_ID 0x1209 |
diff --git a/keyboards/keyboardio/model01/leds.c b/keyboards/keyboardio/model01/leds.c index b21c1a5c8..0308887d3 100644 --- a/keyboards/keyboardio/model01/leds.c +++ b/keyboards/keyboardio/model01/leds.c | |||
| @@ -13,10 +13,10 @@ | |||
| 13 | * You should have received a copy of the GNU General Public License | 13 | * You should have received a copy of the GNU General Public License |
| 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 | #include <quantum.h> | 16 | #include "quantum.h" |
| 17 | #include <i2c_master.h> | 17 | #include "i2c_master.h" |
| 18 | #include <led_tables.h> | 18 | #include "led_tables.h" |
| 19 | #include <rgb_matrix.h> | 19 | #include "rgb_matrix.h" |
| 20 | #include <string.h> | 20 | #include <string.h> |
| 21 | #include "model01.h" | 21 | #include "model01.h" |
| 22 | 22 | ||
diff --git a/keyboards/keyboardio/model01/leds.h b/keyboards/keyboardio/model01/leds.h index 405bdf328..4d185919b 100644 --- a/keyboards/keyboardio/model01/leds.h +++ b/keyboards/keyboardio/model01/leds.h | |||
| @@ -15,8 +15,8 @@ | |||
| 15 | */ | 15 | */ |
| 16 | #pragma once | 16 | #pragma once |
| 17 | 17 | ||
| 18 | #include <quantum.h> | 18 | #include "quantum.h" |
| 19 | #include <rgb_matrix.h> | 19 | #include "rgb_matrix.h" |
| 20 | 20 | ||
| 21 | void set_all_leds_to(uint8_t r, uint8_t g, uint8_t b); | 21 | void set_all_leds_to(uint8_t r, uint8_t g, uint8_t b); |
| 22 | void set_led_to(int led, uint8_t r, uint8_t g, uint8_t b); | 22 | void set_led_to(int led, uint8_t r, uint8_t g, uint8_t b); |
diff --git a/keyboards/keyboardio/model01/matrix.c b/keyboards/keyboardio/model01/matrix.c index f1f9024c7..92cca9913 100644 --- a/keyboards/keyboardio/model01/matrix.c +++ b/keyboards/keyboardio/model01/matrix.c | |||
| @@ -13,8 +13,8 @@ | |||
| 13 | * You should have received a copy of the GNU General Public License | 13 | * You should have received a copy of the GNU General Public License |
| 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 | #include <quantum.h> | 16 | #include "quantum.h" |
| 17 | #include <i2c_master.h> | 17 | #include "i2c_master.h" |
| 18 | #include <string.h> | 18 | #include <string.h> |
| 19 | #include "model01.h" | 19 | #include "model01.h" |
| 20 | 20 | ||
diff --git a/keyboards/keyboardio/model01/model01.c b/keyboards/keyboardio/model01/model01.c index 29615ca86..d9fac1cf0 100644 --- a/keyboards/keyboardio/model01/model01.c +++ b/keyboards/keyboardio/model01/model01.c | |||
| @@ -13,8 +13,8 @@ | |||
| 13 | * You should have received a copy of the GNU General Public License | 13 | * You should have received a copy of the GNU General Public License |
| 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 | #include <quantum.h> | 16 | #include "quantum.h" |
| 17 | #include <i2c_master.h> | 17 | #include "i2c_master.h" |
| 18 | #include <string.h> | 18 | #include <string.h> |
| 19 | #include "model01.h" | 19 | #include "model01.h" |
| 20 | 20 | ||
diff --git a/keyboards/keyboardio/model01/model01.h b/keyboards/keyboardio/model01/model01.h index a83e33cd8..870cb441f 100644 --- a/keyboards/keyboardio/model01/model01.h +++ b/keyboards/keyboardio/model01/model01.h | |||
| @@ -15,7 +15,7 @@ | |||
| 15 | */ | 15 | */ |
| 16 | #pragma once | 16 | #pragma once |
| 17 | 17 | ||
| 18 | #include <quantum.h> | 18 | #include "quantum.h" |
| 19 | 19 | ||
| 20 | #define LAYOUT( \ | 20 | #define LAYOUT( \ |
| 21 | L07, L06, L05, L04, L03, L02, R05, R04, R03, R02, R01, R00, \ | 21 | L07, L06, L05, L04, L03, L02, R05, R04, R03, R02, R01, R00, \ |
diff --git a/keyboards/lets_split/keymaps/OLED_sample/keymap.c b/keyboards/lets_split/keymaps/OLED_sample/keymap.c index 0cf3503e4..a34d5a32b 100644 --- a/keyboards/lets_split/keymaps/OLED_sample/keymap.c +++ b/keyboards/lets_split/keymaps/OLED_sample/keymap.c | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | #include QMK_KEYBOARD_H | 1 | #include QMK_KEYBOARD_H |
| 2 | #include "LUFA/Drivers/Peripheral/TWI.h" | 2 | #include <LUFA/Drivers/Peripheral/TWI.h> |
| 3 | #ifdef SSD1306OLED | 3 | #ifdef SSD1306OLED |
| 4 | #include "ssd1306.h" | 4 | #include "ssd1306.h" |
| 5 | #endif | 5 | #endif |
diff --git a/keyboards/lfkeyboards/TWIlib.c b/keyboards/lfkeyboards/TWIlib.c index dc4fbf016..d50ce7289 100644 --- a/keyboards/lfkeyboards/TWIlib.c +++ b/keyboards/lfkeyboards/TWIlib.c | |||
| @@ -8,7 +8,7 @@ | |||
| 8 | #include <avr/io.h> | 8 | #include <avr/io.h> |
| 9 | #include <avr/interrupt.h> | 9 | #include <avr/interrupt.h> |
| 10 | #include "TWIlib.h" | 10 | #include "TWIlib.h" |
| 11 | #include "util/delay.h" | 11 | #include <util/delay.h> |
| 12 | #include "print.h" | 12 | #include "print.h" |
| 13 | 13 | ||
| 14 | // Global transmit buffer | 14 | // Global transmit buffer |
diff --git a/keyboards/lfkeyboards/lfk78/lfk78.c b/keyboards/lfkeyboards/lfk78/lfk78.c index cf49a5cfd..5b283f979 100644 --- a/keyboards/lfkeyboards/lfk78/lfk78.c +++ b/keyboards/lfkeyboards/lfk78/lfk78.c | |||
| @@ -2,7 +2,7 @@ | |||
| 2 | 2 | ||
| 3 | #include <avr/timer_avr.h> | 3 | #include <avr/timer_avr.h> |
| 4 | #include <avr/wdt.h> | 4 | #include <avr/wdt.h> |
| 5 | #include <audio/audio.h> | 5 | #include "audio.h" |
| 6 | #include "issi.h" | 6 | #include "issi.h" |
| 7 | #include "TWIlib.h" | 7 | #include "TWIlib.h" |
| 8 | #include "lighting.h" | 8 | #include "lighting.h" |
diff --git a/keyboards/lfkeyboards/lighting.c b/keyboards/lfkeyboards/lighting.c index 2a6eac929..dcc5c4023 100644 --- a/keyboards/lfkeyboards/lighting.c +++ b/keyboards/lfkeyboards/lighting.c | |||
| @@ -11,7 +11,7 @@ | |||
| 11 | #include "lighting.h" | 11 | #include "lighting.h" |
| 12 | #include "debug.h" | 12 | #include "debug.h" |
| 13 | #include "rgblight.h" | 13 | #include "rgblight.h" |
| 14 | #include "audio/audio.h" | 14 | #include "audio.h" |
| 15 | 15 | ||
| 16 | 16 | ||
| 17 | extern rgblight_config_t rgblight_config; // Declared in rgblight.c | 17 | extern rgblight_config_t rgblight_config; // Declared in rgblight.c |
diff --git a/keyboards/matrix/m20add/boards/m20add_bd/board.c b/keyboards/matrix/m20add/boards/m20add_bd/board.c index 68cf23cdd..95d9045a0 100644 --- a/keyboards/matrix/m20add/boards/m20add_bd/board.c +++ b/keyboards/matrix/m20add/boards/m20add_bd/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/keyboards/matrix/noah/boards/noah_bd/board.c b/keyboards/matrix/noah/boards/noah_bd/board.c index 68cf23cdd..95d9045a0 100644 --- a/keyboards/matrix/noah/boards/noah_bd/board.c +++ b/keyboards/matrix/noah/boards/noah_bd/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/keyboards/matrix/noah/matrix.c b/keyboards/matrix/noah/matrix.c index 737f570c1..211520436 100644 --- a/keyboards/matrix/noah/matrix.c +++ b/keyboards/matrix/noah/matrix.c | |||
| @@ -5,11 +5,11 @@ | |||
| 5 | #include <stdint.h> | 5 | #include <stdint.h> |
| 6 | #include <stdbool.h> | 6 | #include <stdbool.h> |
| 7 | #include <string.h> | 7 | #include <string.h> |
| 8 | #include "hal.h" | 8 | #include <hal.h> |
| 9 | #include "quantum.h" | 9 | #include "quantum.h" |
| 10 | #include "timer.h" | 10 | #include "timer.h" |
| 11 | #include "wait.h" | 11 | #include "wait.h" |
| 12 | #include "printf.h" | 12 | #include "print.h" |
| 13 | #include "matrix.h" | 13 | #include "matrix.h" |
| 14 | 14 | ||
| 15 | /** | 15 | /** |
diff --git a/keyboards/meira/TWIlib.c b/keyboards/meira/TWIlib.c index 4091429b4..8f5658fcd 100755 --- a/keyboards/meira/TWIlib.c +++ b/keyboards/meira/TWIlib.c | |||
| @@ -8,7 +8,7 @@ | |||
| 8 | #include <avr/io.h> | 8 | #include <avr/io.h> |
| 9 | #include <avr/interrupt.h> | 9 | #include <avr/interrupt.h> |
| 10 | #include "TWIlib.h" | 10 | #include "TWIlib.h" |
| 11 | #include "util/delay.h" | 11 | #include <util/delay.h> |
| 12 | #include "print.h" | 12 | #include "print.h" |
| 13 | 13 | ||
| 14 | // Global transmit buffer | 14 | // Global transmit buffer |
diff --git a/keyboards/meira/lighting.c b/keyboards/meira/lighting.c index 37bb45aec..a02487f69 100755 --- a/keyboards/meira/lighting.c +++ b/keyboards/meira/lighting.c | |||
| @@ -9,7 +9,7 @@ | |||
| 9 | #include "TWIlib.h" | 9 | #include "TWIlib.h" |
| 10 | #include "lighting.h" | 10 | #include "lighting.h" |
| 11 | #include "debug.h" | 11 | #include "debug.h" |
| 12 | #include "audio/audio.h" | 12 | #include "audio.h" |
| 13 | 13 | ||
| 14 | 14 | ||
| 15 | const uint8_t backlight_pwm_map[BACKLIGHT_LEVELS] = BACKLIGHT_PWM_MAP; | 15 | const uint8_t backlight_pwm_map[BACKLIGHT_LEVELS] = BACKLIGHT_PWM_MAP; |
diff --git a/keyboards/moonlander/matrix.c b/keyboards/moonlander/matrix.c index 872643f61..f5c49b4d5 100644 --- a/keyboards/moonlander/matrix.c +++ b/keyboards/moonlander/matrix.c | |||
| @@ -21,10 +21,10 @@ | |||
| 21 | #include <stdint.h> | 21 | #include <stdint.h> |
| 22 | #include <stdbool.h> | 22 | #include <stdbool.h> |
| 23 | #include <string.h> | 23 | #include <string.h> |
| 24 | #include "hal.h" | 24 | #include <hal.h> |
| 25 | #include "timer.h" | 25 | #include "timer.h" |
| 26 | #include "wait.h" | 26 | #include "wait.h" |
| 27 | #include "printf.h" | 27 | #include "print.h" |
| 28 | #include "matrix.h" | 28 | #include "matrix.h" |
| 29 | #include "action.h" | 29 | #include "action.h" |
| 30 | #include "keycode.h" | 30 | #include "keycode.h" |
diff --git a/keyboards/mxss/rgblight.c b/keyboards/mxss/rgblight.c index 130945857..2e9352c55 100644 --- a/keyboards/mxss/rgblight.c +++ b/keyboards/mxss/rgblight.c | |||
| @@ -20,7 +20,7 @@ | |||
| 20 | # include <avr/interrupt.h> | 20 | # include <avr/interrupt.h> |
| 21 | #endif | 21 | #endif |
| 22 | #ifdef STM32_EEPROM_ENABLE | 22 | #ifdef STM32_EEPROM_ENABLE |
| 23 | # include "hal.h" | 23 | # include <hal.h> |
| 24 | # include "eeprom.h" | 24 | # include "eeprom.h" |
| 25 | # include "eeprom_stm32.h" | 25 | # include "eeprom_stm32.h" |
| 26 | #endif | 26 | #endif |
| @@ -31,7 +31,7 @@ | |||
| 31 | #include "color.h" | 31 | #include "color.h" |
| 32 | #include "debug.h" | 32 | #include "debug.h" |
| 33 | #include "led_tables.h" | 33 | #include "led_tables.h" |
| 34 | #include "lib/lib8tion/lib8tion.h" | 34 | #include <lib/lib8tion/lib8tion.h> |
| 35 | #ifdef VELOCIKEY_ENABLE | 35 | #ifdef VELOCIKEY_ENABLE |
| 36 | # include "velocikey.h" | 36 | # include "velocikey.h" |
| 37 | #endif | 37 | #endif |
diff --git a/keyboards/nek_type_a/mcp23017.c b/keyboards/nek_type_a/mcp23017.c index e24231680..1434fa56c 100644 --- a/keyboards/nek_type_a/mcp23017.c +++ b/keyboards/nek_type_a/mcp23017.c | |||
| @@ -15,8 +15,8 @@ | |||
| 15 | */ | 15 | */ |
| 16 | #include <stdbool.h> | 16 | #include <stdbool.h> |
| 17 | #include "action.h" | 17 | #include "action.h" |
| 18 | #include "lib/lufa/LUFA/Drivers/Peripheral/TWI.h" | 18 | #include <LUFA/Drivers/Peripheral/TWI.h> |
| 19 | #include "lib/lufa/LUFA/Drivers/Peripheral/AVR8/TWI_AVR8.c" | 19 | #include <LUFA/Drivers/Peripheral/AVR8/TWI_AVR8.c> |
| 20 | #include "mcp23017.h" | 20 | #include "mcp23017.h" |
| 21 | #include "debug.h" | 21 | #include "debug.h" |
| 22 | #include "wait.h" | 22 | #include "wait.h" |
diff --git a/keyboards/oddball/adns.c b/keyboards/oddball/adns.c index 35225f042..4582be1f2 100644 --- a/keyboards/oddball/adns.c +++ b/keyboards/oddball/adns.c | |||
| @@ -3,7 +3,7 @@ | |||
| 3 | #include "quantum.h" | 3 | #include "quantum.h" |
| 4 | #include "pointing_device.h" | 4 | #include "pointing_device.h" |
| 5 | #include "adns9800_srom_A4.h" | 5 | #include "adns9800_srom_A4.h" |
| 6 | #include "../../lib/lufa/LUFA/Drivers/Peripheral/SPI.h" | 6 | #include <LUFA/Drivers/Peripheral/SPI.h> |
| 7 | 7 | ||
| 8 | // registers | 8 | // registers |
| 9 | #define REG_Product_ID 0x00 | 9 | #define REG_Product_ID 0x00 |
diff --git a/keyboards/phoenix/phoenix.c b/keyboards/phoenix/phoenix.c index e79b35b15..a8e9a42a0 100644 --- a/keyboards/phoenix/phoenix.c +++ b/keyboards/phoenix/phoenix.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | #include "hal.h" | 1 | #include <hal.h> |
| 2 | #include "usb_main.h" | 2 | #include "usb_main.h" |
| 3 | #include "phoenix.h" | 3 | #include "phoenix.h" |
| 4 | 4 | ||
diff --git a/keyboards/planck/ez/ez.c b/keyboards/planck/ez/ez.c index 5371c7853..8c498a552 100644 --- a/keyboards/planck/ez/ez.c +++ b/keyboards/planck/ez/ez.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 | #include "ez.h" | 16 | #include "ez.h" |
| 17 | #include "ch.h" | 17 | #include <ch.h> |
| 18 | #include "hal.h" | 18 | #include <hal.h> |
| 19 | 19 | ||
| 20 | keyboard_config_t keyboard_config; | 20 | keyboard_config_t keyboard_config; |
| 21 | #ifdef RGB_MATRIX_ENABLE | 21 | #ifdef RGB_MATRIX_ENABLE |
diff --git a/keyboards/terrazzo/terrazzo.c b/keyboards/terrazzo/terrazzo.c index 2fe94f860..e8a4e03fc 100644 --- a/keyboards/terrazzo/terrazzo.c +++ b/keyboards/terrazzo/terrazzo.c | |||
| @@ -19,7 +19,7 @@ | |||
| 19 | #ifdef LED_MATRIX_ENABLE | 19 | #ifdef LED_MATRIX_ENABLE |
| 20 | #include "is31fl3731-simple.h" | 20 | #include "is31fl3731-simple.h" |
| 21 | #include <math.h> | 21 | #include <math.h> |
| 22 | #include <print.h> | 22 | #include "print.h" |
| 23 | #include "quantum.h" | 23 | #include "quantum.h" |
| 24 | 24 | ||
| 25 | const is31_led g_is31_leds[LED_DRIVER_LED_COUNT] = { | 25 | const is31_led g_is31_leds[LED_DRIVER_LED_COUNT] = { |
diff --git a/keyboards/wilba_tech/wt_rgb_backlight.c b/keyboards/wilba_tech/wt_rgb_backlight.c index 0a75dd4a6..306f8186e 100644 --- a/keyboards/wilba_tech/wt_rgb_backlight.c +++ b/keyboards/wilba_tech/wt_rgb_backlight.c | |||
| @@ -55,8 +55,8 @@ | |||
| 55 | #include <avr/interrupt.h> | 55 | #include <avr/interrupt.h> |
| 56 | #include "drivers/avr/i2c_master.h" | 56 | #include "drivers/avr/i2c_master.h" |
| 57 | #else | 57 | #else |
| 58 | #include "ch.h" | 58 | #include <ch.h> |
| 59 | #include "hal.h" | 59 | #include <hal.h> |
| 60 | #include "drivers/chibios/i2c_master.h" | 60 | #include "drivers/chibios/i2c_master.h" |
| 61 | #endif | 61 | #endif |
| 62 | 62 | ||
diff --git a/keyboards/yosino58/config.h b/keyboards/yosino58/config.h index fb1cdf396..0c308480e 100644 --- a/keyboards/yosino58/config.h +++ b/keyboards/yosino58/config.h | |||
| @@ -19,7 +19,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 19 | #pragma once | 19 | #pragma once |
| 20 | 20 | ||
| 21 | #include "config_common.h" | 21 | #include "config_common.h" |
| 22 | #include <serial_config.h> | 22 | #include "serial_config.h" |
| 23 | 23 | ||
| 24 | #define USE_I2C | 24 | #define USE_I2C |
| 25 | #define USE_SERIAL | 25 | #define USE_SERIAL |
diff --git a/keyboards/yosino58/rev1/split_scomm.c b/keyboards/yosino58/rev1/split_scomm.c index a1fe6ba5b..82b53d7e7 100644 --- a/keyboards/yosino58/rev1/split_scomm.c +++ b/keyboards/yosino58/rev1/split_scomm.c | |||
| @@ -5,10 +5,10 @@ | |||
| 5 | #include <stdbool.h> | 5 | #include <stdbool.h> |
| 6 | #include <stdint.h> | 6 | #include <stdint.h> |
| 7 | #include <stddef.h> | 7 | #include <stddef.h> |
| 8 | #include <split_scomm.h> | 8 | #include "split_scomm.h" |
| 9 | #include "serial.h" | 9 | #include "serial.h" |
| 10 | #ifdef CONSOLE_ENABLE | 10 | #ifdef CONSOLE_ENABLE |
| 11 | #include <print.h> | 11 | #include "print.h" |
| 12 | #endif | 12 | #endif |
| 13 | 13 | ||
| 14 | uint8_t volatile serial_slave_buffer[SERIAL_SLAVE_BUFFER_LENGTH] = {0}; | 14 | uint8_t volatile serial_slave_buffer[SERIAL_SLAVE_BUFFER_LENGTH] = {0}; |
diff --git a/quantum/audio/voices.c b/quantum/audio/voices.c index 53a65e4e3..1592618be 100644 --- a/quantum/audio/voices.c +++ b/quantum/audio/voices.c | |||
| @@ -15,7 +15,7 @@ | |||
| 15 | */ | 15 | */ |
| 16 | #include "voices.h" | 16 | #include "voices.h" |
| 17 | #include "audio.h" | 17 | #include "audio.h" |
| 18 | #include "stdlib.h" | 18 | #include <stdlib.h> |
| 19 | 19 | ||
| 20 | // these are imported from audio.c | 20 | // these are imported from audio.c |
| 21 | extern uint16_t envelope_index; | 21 | extern uint16_t envelope_index; |
diff --git a/tmk_core/common/led.h b/tmk_core/common/led.h index 81c664d60..0fe38ea03 100644 --- a/tmk_core/common/led.h +++ b/tmk_core/common/led.h | |||
| @@ -17,8 +17,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | #include "stdint.h" | 20 | #include <stdint.h> |
| 21 | #include "stdbool.h" | 21 | #include <stdbool.h> |
| 22 | 22 | ||
| 23 | /* FIXME: Add doxygen comments here. */ | 23 | /* FIXME: Add doxygen comments here. */ |
| 24 | 24 | ||
diff --git a/tmk_core/protocol/chibios/lufa_utils/LUFA/Drivers/USB/USB.h b/tmk_core/protocol/chibios/lufa_utils/LUFA/Drivers/USB/USB.h index f59c8d1dd..22f882cbb 100644 --- a/tmk_core/protocol/chibios/lufa_utils/LUFA/Drivers/USB/USB.h +++ b/tmk_core/protocol/chibios/lufa_utils/LUFA/Drivers/USB/USB.h | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | #include "progmem.h" | 1 | #include "progmem.h" |
| 2 | #include "stddef.h" | 2 | #include <stddef.h> |
| 3 | #include "inttypes.h" | 3 | #include <inttypes.h> |
| 4 | 4 | ||
| 5 | #define ATTR_PACKED __attribute__((packed)) | 5 | #define ATTR_PACKED __attribute__((packed)) |
| 6 | /** Concatenates the given input into a single token, via the C Preprocessor. | 6 | /** Concatenates the given input into a single token, via the C Preprocessor. |
diff --git a/tmk_core/protocol/chibios/main.c b/tmk_core/protocol/chibios/main.c index b99a40f1e..e07c181fc 100644 --- a/tmk_core/protocol/chibios/main.c +++ b/tmk_core/protocol/chibios/main.c | |||
| @@ -31,7 +31,7 @@ | |||
| 31 | #include "led.h" | 31 | #include "led.h" |
| 32 | #include "sendchar.h" | 32 | #include "sendchar.h" |
| 33 | #include "debug.h" | 33 | #include "debug.h" |
| 34 | #include "printf.h" | 34 | #include "print.h" |
| 35 | 35 | ||
| 36 | #ifndef EARLY_INIT_PERFORM_BOOTLOADER_JUMP | 36 | #ifndef EARLY_INIT_PERFORM_BOOTLOADER_JUMP |
| 37 | // Change this to be TRUE once we've migrated keyboards to the new init system | 37 | // Change this to be TRUE once we've migrated keyboards to the new init system |
