keyboard stuff
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

quantum: remove direct `quantum.h` includes (#21507)

authored by

Ryan and committed by
GitHub
da2d2f94 b9e58951

+208 -62
+1 -1
keyboards/boardsource/lulu/lulu.c
··· 1 1 // Copyright 2022 Cole Smith <cole@boadsource.xyz> 2 2 // SPDX-License-Identifier: GPL-2.0-or-later 3 - #include "encoder.h" 3 + #include "quantum.h" 4 4 5 5 #ifdef ENCODER_ENABLE 6 6 bool encoder_update_kb(uint8_t index, bool clockwise) {
+1 -2
keyboards/input_club/k_type/k_type-rgbdriver.c
··· 19 19 #include "rgb_matrix.h" 20 20 #include "i2c_master.h" 21 21 #include "is31fl3733-dual.h" 22 - 23 - 22 + #include "gpio.h" 24 23 25 24 static void init(void) { 26 25 i2c_init(&I2CD1, I2C1_SCL_PIN, I2C1_SDA_PIN);
+3
keyboards/input_club/k_type/keymaps/default/keymap.c
··· 1 + // Copyright 2023 QMK 2 + // SPDX-License-Identifier: GPL-2.0-or-later 3 + 1 4 #include QMK_KEYBOARD_H 2 5 3 6 const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
+1
keyboards/system76/launch_1/rgb_matrix_kb.inc
··· 22 22 #ifdef RGB_MATRIX_CUSTOM_EFFECT_IMPLS 23 23 24 24 #include "dynamic_keymap.h" 25 + #include "action_layer.h" 25 26 26 27 static bool active_keys_initialized = false; 27 28 static uint8_t active_keys_table[RGB_MATRIX_LED_COUNT] = {0};
+6
keyboards/system76/system76_ec.c
··· 22 22 #include "raw_hid.h" 23 23 #include "rgb_matrix.h" 24 24 #include "version.h" 25 + #include "keyboard.h" 26 + #include "eeprom.h" 27 + #include "matrix.h" 28 + #include "action_layer.h" 29 + #include "bootloader.h" 30 + #include "wait.h" 25 31 26 32 enum Command { 27 33 CMD_PROBE = 1, // Probe for System76 EC protocol
+2 -6
platforms/avr/drivers/audio_pwm_hardware.c
··· 15 15 * along with this program. If not, see <http://www.gnu.org/licenses/>. 16 16 */ 17 17 18 - #if defined(__AVR__) 19 - # include <avr/pgmspace.h> 20 - # include <avr/interrupt.h> 21 - # include <avr/io.h> 22 - #endif 23 - 24 18 #include "audio.h" 19 + #include "gpio.h" 20 + #include <avr/interrupt.h> 25 21 26 22 extern bool playing_note; 27 23 extern bool playing_melody;
+3 -2
platforms/chibios/drivers/audio_dac_additive.c
··· 16 16 */ 17 17 18 18 #include "audio.h" 19 - #include <ch.h> 20 - #include <hal.h> 19 + #include "gpio.h" 20 + #include <math.h> 21 + #include "util.h" 21 22 22 23 // Need to disable GCC's "tautological-compare" warning for this file, as it causes issues when running `KEEP_INTERMEDIATES=yes`. Corresponding pop at the end of the file. 23 24 #pragma GCC diagnostic push
+1 -2
platforms/chibios/drivers/audio_dac_basic.c
··· 16 16 */ 17 17 18 18 #include "audio.h" 19 - #include "ch.h" 20 - #include "hal.h" 19 + #include "gpio.h" 21 20 22 21 // Need to disable GCC's "tautological-compare" warning for this file, as it causes issues when running `KEEP_INTERMEDIATES=yes`. Corresponding pop at the end of the file. 23 22 #pragma GCC diagnostic push
+1 -2
platforms/chibios/drivers/audio_pwm_hardware.c
··· 12 12 // function. 13 13 14 14 #include "audio.h" 15 - #include "ch.h" 16 - #include "hal.h" 15 + #include "gpio.h" 17 16 18 17 #if !defined(AUDIO_PIN) 19 18 # error "Audio feature enabled, but no pin selected - see docs/feature_audio under the ARM PWM settings"
+1 -2
platforms/chibios/drivers/audio_pwm_software.c
··· 25 25 26 26 */ 27 27 #include "audio.h" 28 - #include "ch.h" 29 - #include "hal.h" 28 + #include "gpio.h" 30 29 31 30 #if !defined(AUDIO_PIN) 32 31 # error "Audio feature enabled, but no pin selected - see docs/feature_audio under the ARM PWM settings"
+3
quantum/audio/audio.c
··· 583 583 uint16_t audio_ms_to_duration(uint16_t duration_ms) { 584 584 return ((uint32_t)duration_ms * 2 * note_tempo) / 1875; 585 585 } 586 + 587 + __attribute__((weak)) void audio_on_user(void) {} 588 + __attribute__((weak)) void audio_off_user(void) {}
+3 -6
quantum/audio/audio.h
··· 21 21 #include "musical_notes.h" 22 22 #include "song_list.h" 23 23 #include "voices.h" 24 - #include "quantum.h" 25 - #include <math.h> 26 - 27 - #if defined(__AVR__) 28 - # include <avr/io.h> 29 - #endif 30 24 31 25 #if defined(AUDIO_DRIVER_PWM) 32 26 # include "audio_pwm.h" ··· 280 274 #define increase_tempo(t) audio_increase_tempo(t) 281 275 #define decrease_tempo(t) audio_decrease_tempo(t) 282 276 // vibrato functions are not used in any keyboards 277 + 278 + void audio_on_user(void); 279 + void audio_off_user(void);
+2
quantum/audio/muse.c
··· 1 1 #include "muse.h" 2 2 3 + #include <stdbool.h> 4 + 3 5 enum { MUSE_OFF, MUSE_ON, MUSE_C_1_2, MUSE_C1, MUSE_C2, MUSE_C4, MUSE_C8, MUSE_C3, MUSE_C6, MUSE_B1, MUSE_B2, MUSE_B3, MUSE_B4, MUSE_B5, MUSE_B6, MUSE_B7, MUSE_B8, MUSE_B9, MUSE_B10, MUSE_B11, MUSE_B12, MUSE_B13, MUSE_B14, MUSE_B15, MUSE_B16, MUSE_B17, MUSE_B18, MUSE_B19, MUSE_B20, MUSE_B21, MUSE_B22, MUSE_B23, MUSE_B24, MUSE_B25, MUSE_B26, MUSE_B27, MUSE_B28, MUSE_B29, MUSE_B30, MUSE_B31 }; 4 6 5 7 bool number_of_ones_to_bool[16] = {1, 0, 0, 1, 0, 1, 1, 0, 0, 1, 1, 0, 1, 0, 0, 1};
+1 -2
quantum/audio/muse.h
··· 1 1 #pragma once 2 2 3 - #include "quantum.h" 4 - #include "process_audio.h" 3 + #include <stdint.h> 5 4 6 5 uint8_t muse_clock_pulse(void);
+2
quantum/audio/voices.c
··· 16 16 */ 17 17 #include "voices.h" 18 18 #include "audio.h" 19 + #include "timer.h" 19 20 #include <stdlib.h> 21 + #include <math.h> 20 22 21 23 uint8_t note_timbre = TIMBRE_DEFAULT; 22 24 bool glissando = false;
+6 -1
quantum/bootmagic/bootmagic_lite.c
··· 13 13 * You should have received a copy of the GNU General Public License 14 14 * along with this program. If not, see <http://www.gnu.org/licenses/>. 15 15 */ 16 - #include "quantum.h" 16 + #include "bootmagic.h" 17 + #include "matrix.h" 18 + #include "keyboard.h" 19 + #include "wait.h" 20 + #include "eeconfig.h" 21 + #include "bootloader.h" 17 22 18 23 /** \brief Reset eeprom 19 24 *
+7 -5
quantum/dynamic_keymap.c
··· 14 14 * along with this program. If not, see <http://www.gnu.org/licenses/>. 15 15 */ 16 16 17 - #include "keymap_introspection.h" // to get keymaps[][][] 18 - #include "eeprom.h" 19 - #include "progmem.h" // to read default from flash 20 - #include "quantum.h" // for send_string() 21 17 #include "dynamic_keymap.h" 18 + #include "keymap_introspection.h" 19 + #include "action.h" 20 + #include "eeprom.h" 21 + #include "progmem.h" 22 + #include "send_string.h" 23 + #include "keycodes.h" 22 24 23 25 #ifdef VIA_ENABLE 24 - # include "via.h" // for VIA_EEPROM_CONFIG_END 26 + # include "via.h" 25 27 # define DYNAMIC_KEYMAP_EEPROM_START (VIA_EEPROM_CONFIG_END) 26 28 #else 27 29 # define DYNAMIC_KEYMAP_EEPROM_START (EECONFIG_SIZE)
+5
quantum/encoder.c
··· 16 16 */ 17 17 18 18 #include "encoder.h" 19 + #include "keyboard.h" 20 + #include "action.h" 21 + #include "keycodes.h" 22 + #include "wait.h" 23 + 19 24 #ifdef SPLIT_KEYBOARD 20 25 # include "split_util.h" 21 26 #endif
+3 -1
quantum/encoder.h
··· 17 17 18 18 #pragma once 19 19 20 - #include "quantum.h" 20 + #include <stdint.h> 21 + #include <stdbool.h> 22 + #include "gpio.h" 21 23 #include "util.h" 22 24 23 25 void encoder_init(void);
+1
quantum/encoder/tests/encoder_tests_split_role.cpp
··· 22 22 23 23 extern "C" { 24 24 #include "encoder.h" 25 + #include "keyboard.h" 25 26 #include "encoder/tests/mock_split.h" 26 27 } 27 28
+32 -2
quantum/keyboard.c
··· 16 16 */ 17 17 18 18 #include <stdint.h> 19 - #include "quantum.h" 20 19 #include "keyboard.h" 20 + #include "keycode_config.h" 21 21 #include "matrix.h" 22 22 #include "keymap_introspection.h" 23 23 #include "magic.h" ··· 33 33 #include "sendchar.h" 34 34 #include "eeconfig.h" 35 35 #include "action_layer.h" 36 + #ifdef AUDIO_ENABLE 37 + # include "audio.h" 38 + #endif 39 + #if defined(AUDIO_ENABLE) || (defined(MIDI_ENABLE) && defined(MIDI_BASIC)) 40 + # include "process_music.h" 41 + #endif 36 42 #ifdef BACKLIGHT_ENABLE 37 43 # include "backlight.h" 38 44 #endif ··· 54 60 #ifdef ENCODER_ENABLE 55 61 # include "encoder.h" 56 62 #endif 63 + #ifdef HAPTIC_ENABLE 64 + # include "haptic.h" 65 + #endif 66 + #ifdef AUTO_SHIFT_ENABLE 67 + # include "process_auto_shift.h" 68 + #endif 69 + #ifdef COMBO_ENABLE 70 + # include "process_combo.h" 71 + #endif 72 + #ifdef TAP_DANCE_ENABLE 73 + # include "process_tap_dance.h" 74 + #endif 57 75 #ifdef STENO_ENABLE 58 76 # include "process_steno.h" 59 77 #endif 78 + #ifdef KEY_OVERRIDE_ENABLE 79 + # include "process_key_override.h" 80 + #endif 81 + #ifdef SECURE_ENABLE 82 + # include "secure.h" 83 + #endif 60 84 #ifdef POINTING_DEVICE_ENABLE 61 85 # include "pointing_device.h" 62 86 #endif ··· 64 88 # include "process_midi.h" 65 89 #endif 66 90 #ifdef JOYSTICK_ENABLE 67 - # include "process_joystick.h" 91 + # include "joystick.h" 68 92 #endif 69 93 #ifdef HD44780_ENABLE 70 94 # include "hd44780.h" ··· 107 131 #endif 108 132 #ifdef LEADER_ENABLE 109 133 # include "leader.h" 134 + #endif 135 + #ifdef UNICODE_COMMON_ENABLE 136 + # include "unicode.h" 137 + #endif 138 + #ifdef WPM_ENABLE 139 + # include "wpm.h" 110 140 #endif 111 141 112 142 static uint32_t last_input_modification_time = 0;
+2
quantum/keyboard.h
··· 20 20 #include <stdbool.h> 21 21 #include <stdint.h> 22 22 23 + #include "timer.h" 24 + 23 25 #ifdef __cplusplus 24 26 extern "C" { 25 27 #endif
+6 -1
quantum/keymap_common.c
··· 22 22 #include "action_layer.h" 23 23 #include "action.h" 24 24 #include "debug.h" 25 - #include "quantum.h" 25 + #include "keycode_config.h" 26 + #include "quantum_keycodes.h" 27 + 28 + #ifdef ENCODER_MAP_ENABLE 29 + # include "encoder.h" 30 + #endif 26 31 27 32 #ifdef BACKLIGHT_ENABLE 28 33 # include "backlight.h"
+5
quantum/led_matrix/led_matrix.c
··· 20 20 #include "led_matrix.h" 21 21 #include "progmem.h" 22 22 #include "eeprom.h" 23 + #include "eeconfig.h" 24 + #include "keyboard.h" 25 + #include "sync_timer.h" 26 + #include "debug.h" 23 27 #include <string.h> 24 28 #include <math.h> 29 + #include <stdlib.h> 25 30 #include "led_tables.h" 26 31 27 32 #include <lib/lib8tion/lib8tion.h>
+1 -1
quantum/led_matrix/led_matrix.h
··· 23 23 #include <stdint.h> 24 24 #include <stdbool.h> 25 25 #include "led_matrix_types.h" 26 - #include "quantum.h" 26 + #include "keyboard.h" 27 27 28 28 #ifdef IS31FL3731 29 29 # include "is31fl3731-simple.h"
+2 -1
quantum/matrix.c
··· 20 20 #include "util.h" 21 21 #include "matrix.h" 22 22 #include "debounce.h" 23 - #include "quantum.h" 23 + #include "atomic_util.h" 24 + 24 25 #ifdef SPLIT_KEYBOARD 25 26 # include "split_common/split_util.h" 26 27 # include "split_common/transactions.h"
+1 -1
quantum/matrix_common.c
··· 1 - #include "quantum.h" 2 1 #include "matrix.h" 3 2 #include "debounce.h" 4 3 #include "wait.h" 5 4 #include "print.h" 6 5 #include "debug.h" 6 + 7 7 #ifdef SPLIT_KEYBOARD 8 8 # include "split_common/split_util.h" 9 9 # include "split_common/transactions.h"
+1
quantum/midi/qmk_midi.c
··· 7 7 8 8 #ifdef AUDIO_ENABLE 9 9 # include "audio.h" 10 + # include <math.h> 10 11 #endif 11 12 12 13 /*******************************************************************************
+3
quantum/pointing_device/pointing_device_auto_mouse.c
··· 18 18 #ifdef POINTING_DEVICE_AUTO_MOUSE_ENABLE 19 19 20 20 # include "pointing_device_auto_mouse.h" 21 + # include "debug.h" 22 + # include "action_util.h" 23 + # include "quantum_keycodes.h" 21 24 22 25 /* local data structure for tracking auto mouse */ 23 26 static auto_mouse_context_t auto_mouse_context = {
+7 -4
quantum/pointing_device/pointing_device_auto_mouse.h
··· 16 16 17 17 #pragma once 18 18 19 - #include <string.h> 20 - 21 - #include "quantum.h" 19 + #include <stdint.h> 20 + #include <stdbool.h> 22 21 #include "pointing_device.h" 23 - #include "print.h" 22 + #include "keycodes.h" 23 + #include "action.h" 24 + #include "report.h" 25 + #include "action_layer.h" 26 + #include "action_tapping.h" 24 27 25 28 /* check settings and set defaults */ 26 29 #ifndef POINTING_DEVICE_AUTO_MOUSE_ENABLE
+1 -3
quantum/process_keycode/process_audio.c
··· 1 1 #include "audio.h" 2 2 #include "process_audio.h" 3 + #include <math.h> 3 4 4 5 #ifndef VOICE_CHANGE_SONG 5 6 # define VOICE_CHANGE_SONG SONG(VOICE_CHANGE_SOUND) ··· 61 62 void process_audio_all_notes_off(void) { 62 63 stop_all_notes(); 63 64 } 64 - 65 - __attribute__((weak)) void audio_on_user(void) {} 66 - __attribute__((weak)) void audio_off_user(void) {}
-3
quantum/process_keycode/process_audio.h
··· 10 10 void process_audio_noteon(uint8_t note); 11 11 void process_audio_noteoff(uint8_t note); 12 12 void process_audio_all_notes_off(void); 13 - 14 - void audio_on_user(void); 15 - void audio_off_user(void);
+3 -1
quantum/process_keycode/process_clicky.c
··· 1 - #include "audio.h" 2 1 #include "process_clicky.h" 2 + #include "audio.h" 3 + #include "eeconfig.h" 4 + #include <stdlib.h> 3 5 4 6 #ifdef AUDIO_CLICKY 5 7
+4
quantum/process_keycode/process_key_override.c
··· 19 19 #include "report.h" 20 20 #include "timer.h" 21 21 #include "debug.h" 22 + #include "wait.h" 23 + #include "action_util.h" 24 + #include "quantum.h" 25 + #include "quantum_keycodes.h" 22 26 23 27 #ifndef KEY_OVERRIDE_REPEAT_DELAY 24 28 # define KEY_OVERRIDE_REPEAT_DELAY 500
+1
quantum/repeat_key.c
··· 13 13 // limitations under the License. 14 14 15 15 #include "repeat_key.h" 16 + #include "quantum_keycodes.h" 16 17 17 18 // Variables saving the state of the last key press. 18 19 static keyrecord_t last_record = {0};
+4 -1
quantum/repeat_key.h
··· 14 14 15 15 #pragma once 16 16 17 - #include "quantum.h" 17 + #include <stdint.h> 18 + #include <stdbool.h> 19 + #include "action.h" 20 + #include "keyboard.h" 18 21 19 22 uint16_t get_last_keycode(void); /**< Keycode of the last key. */ 20 23 uint8_t get_last_mods(void); /**< Mods active with the last key. */
+5
quantum/rgb_matrix/rgb_matrix.c
··· 19 19 #include "rgb_matrix.h" 20 20 #include "progmem.h" 21 21 #include "eeprom.h" 22 + #include "eeconfig.h" 23 + #include "keyboard.h" 24 + #include "sync_timer.h" 25 + #include "debug.h" 22 26 #include <string.h> 23 27 #include <math.h> 28 + #include <stdlib.h> 24 29 25 30 #include <lib/lib8tion/lib8tion.h> 26 31
+1 -1
quantum/rgb_matrix/rgb_matrix.h
··· 22 22 #include <stdbool.h> 23 23 #include "rgb_matrix_types.h" 24 24 #include "color.h" 25 - #include "quantum.h" 25 + #include "keyboard.h" 26 26 27 27 #ifdef IS31FL3731 28 28 # include "is31fl3731.h"
+1
quantum/rgb_matrix/rgb_matrix_drivers.c
··· 15 15 */ 16 16 17 17 #include "rgb_matrix.h" 18 + #include "util.h" 18 19 19 20 /* Each driver needs to define the struct 20 21 * const rgb_matrix_driver_t rgb_matrix_driver;
+1 -1
quantum/split_common/split_util.c
··· 18 18 #include "keyboard.h" 19 19 #include "timer.h" 20 20 #include "transport.h" 21 - #include "quantum.h" 22 21 #include "wait.h" 22 + #include "debug.h" 23 23 #include "usb_util.h" 24 24 25 25 #ifdef EE_HANDS
-1
quantum/split_common/split_util.h
··· 2 2 3 3 #include <stdbool.h> 4 4 #include <stdint.h> 5 - #include <stdlib.h> 6 5 7 6 #include "matrix.h" 8 7
+38 -1
quantum/split_common/transactions.c
··· 20 20 #include "crc.h" 21 21 #include "debug.h" 22 22 #include "matrix.h" 23 - #include "quantum.h" 23 + #include "host.h" 24 + #include "action_util.h" 25 + #include "sync_timer.h" 26 + #include "wait.h" 24 27 #include "transactions.h" 25 28 #include "transport.h" 26 29 #include "transaction_id_define.h" 27 30 #include "split_util.h" 28 31 #include "synchronization_util.h" 32 + 33 + #ifdef BACKLIGHT_ENABLE 34 + # include "backlight.h" 35 + #endif 36 + #ifdef RGBLIGHT_ENABLE 37 + # include "rgblight.h" 38 + #endif 39 + #ifdef LED_MATRIX_ENABLE 40 + # include "led_matrix.h" 41 + #endif 42 + #ifdef RGB_MATRIX_ENABLE 43 + # include "rgb_matrix.h" 44 + #endif 45 + #ifdef OLED_ENABLE 46 + # include "oled_driver.h" 47 + #endif 48 + #ifdef ST7565_ENABLE 49 + # include "st7565.h" 50 + #endif 51 + #ifdef ENCODER_ENABLE 52 + # include "encoder.h" 53 + #endif 54 + #ifdef HAPTIC_ENABLE 55 + # include "haptic.h" 56 + #endif 57 + #ifdef POINTING_DEVICE_ENABLE 58 + # include "pointing_device.h" 59 + #endif 60 + #ifdef OS_DETECTION_ENABLE 61 + # include "os_detection.h" 62 + #endif 63 + #ifdef WPM_ENABLE 64 + # include "wpm.h" 65 + #endif 29 66 30 67 #define SYNC_TIMER_OFFSET 2 31 68
+2 -2
quantum/split_common/transactions.h
··· 16 16 17 17 #pragma once 18 18 19 - #include "stdint.h" 20 - #include "stdbool.h" 19 + #include <stdint.h> 20 + #include <stdbool.h> 21 21 22 22 #include "matrix.h" 23 23 #include "transaction_id_define.h"
+2 -2
quantum/split_common/transport.h
··· 16 16 17 17 #pragma once 18 18 19 - #include "stdint.h" 20 - #include "stdbool.h" 19 + #include <stdint.h> 20 + #include <stdbool.h> 21 21 22 22 #include "progmem.h" 23 23 #include "action_layer.h"
+2
quantum/unicode/unicode.c
··· 25 25 #include "wait.h" 26 26 #include "send_string.h" 27 27 #include "utf8.h" 28 + #include "debug.h" 29 + #include "quantum.h" 28 30 29 31 #if defined(AUDIO_ENABLE) 30 32 # include "audio.h"
+1 -2
quantum/unicode/unicode.h
··· 17 17 #pragma once 18 18 19 19 #include <stdint.h> 20 - 21 - #include "quantum.h" 20 + #include "quantum_keycodes.h" 22 21 23 22 typedef union { 24 23 uint8_t raw;
+24 -2
quantum/via.c
··· 22 22 # error "DYNAMIC_KEYMAP_ENABLE is not enabled" 23 23 #endif 24 24 25 - #include "quantum.h" 26 - 27 25 #include "via.h" 28 26 29 27 #include "raw_hid.h" 30 28 #include "dynamic_keymap.h" 31 29 #include "eeprom.h" 30 + #include "eeconfig.h" 31 + #include "matrix.h" 32 + #include "timer.h" 33 + #include "wait.h" 32 34 #include "version.h" // for QMK_BUILDDATE used in EEPROM magic 33 35 36 + #if defined(AUDIO_ENABLE) 37 + # include "audio.h" 38 + #endif 39 + 40 + #if defined(BACKLIGHT_ENABLE) 41 + # include "backlight.h" 42 + #endif 43 + 44 + #if defined(RGBLIGHT_ENABLE) 45 + # include "rgblight.h" 46 + #endif 47 + 34 48 #if (defined(RGB_MATRIX_ENABLE) || defined(LED_MATRIX_ENABLE)) 35 49 # include <lib/lib8tion/lib8tion.h> 50 + #endif 51 + 52 + #if defined(RGB_MATRIX_ENABLE) 53 + # include "rgb_matrix.h" 54 + #endif 55 + 56 + #if defined(LED_MATRIX_ENABLE) 57 + # include "led_matrix.h" 36 58 #endif 37 59 38 60 // Can be called in an overriding via_init_kb() to test if keyboard level code usage of
+1
quantum/via.h
··· 17 17 #pragma once 18 18 19 19 #include "eeconfig.h" // for EECONFIG_SIZE 20 + #include "action.h" 20 21 21 22 // Keyboard level code can change where VIA stores the magic. 22 23 // The magic is the build date YYMMDD encoded as BCD in 3 bytes,
+1
tmk_core/protocol/arm_atsam/main_arm_atsam.c
··· 21 21 #include "report.h" 22 22 #include "host.h" 23 23 #include "host_driver.h" 24 + #include "suspend.h" 24 25 #include "keycode_config.h" 25 26 #include <string.h> 26 27
+1
tmk_core/protocol/arm_atsam/md_rgb_matrix.c
··· 24 24 # include "led.h" 25 25 # include "rgb_matrix.h" 26 26 # include "eeprom.h" 27 + # include "host.h" 27 28 # include <string.h> 28 29 # include <math.h> 29 30
+2
tmk_core/protocol/arm_atsam/spi_master.h
··· 16 16 17 17 #pragma once 18 18 19 + #include <stdint.h> 19 20 #include <stdbool.h> 21 + #include "gpio.h" 20 22 21 23 typedef int16_t spi_status_t; 22 24