quantum: remove direct quantum.h
includes (#21507)
This commit is contained in:
parent
b9e5895184
commit
da2d2f947d
51 changed files with 208 additions and 62 deletions
|
@ -22,19 +22,41 @@
|
|||
# error "DYNAMIC_KEYMAP_ENABLE is not enabled"
|
||||
#endif
|
||||
|
||||
#include "quantum.h"
|
||||
|
||||
#include "via.h"
|
||||
|
||||
#include "raw_hid.h"
|
||||
#include "dynamic_keymap.h"
|
||||
#include "eeprom.h"
|
||||
#include "eeconfig.h"
|
||||
#include "matrix.h"
|
||||
#include "timer.h"
|
||||
#include "wait.h"
|
||||
#include "version.h" // for QMK_BUILDDATE used in EEPROM magic
|
||||
|
||||
#if defined(AUDIO_ENABLE)
|
||||
# include "audio.h"
|
||||
#endif
|
||||
|
||||
#if defined(BACKLIGHT_ENABLE)
|
||||
# include "backlight.h"
|
||||
#endif
|
||||
|
||||
#if defined(RGBLIGHT_ENABLE)
|
||||
# include "rgblight.h"
|
||||
#endif
|
||||
|
||||
#if (defined(RGB_MATRIX_ENABLE) || defined(LED_MATRIX_ENABLE))
|
||||
# include <lib/lib8tion/lib8tion.h>
|
||||
#endif
|
||||
|
||||
#if defined(RGB_MATRIX_ENABLE)
|
||||
# include "rgb_matrix.h"
|
||||
#endif
|
||||
|
||||
#if defined(LED_MATRIX_ENABLE)
|
||||
# include "led_matrix.h"
|
||||
#endif
|
||||
|
||||
// Can be called in an overriding via_init_kb() to test if keyboard level code usage of
|
||||
// EEPROM is invalid and use/save defaults.
|
||||
bool via_eeprom_is_valid(void) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue