Move webusb.h includes to quantum.h (#244)
Co-authored-by: Florian Didron <fdidron@users.noreply.github.com>
This commit is contained in:
committed by
Florian Didron
parent
7b8d56d6d5
commit
0c676d6e47
@@ -1,9 +1,5 @@
|
||||
#include QMK_KEYBOARD_H
|
||||
|
||||
#ifdef WEBUSB_ENABLE
|
||||
#include "webusb.h"
|
||||
#endif
|
||||
|
||||
extern inline void ergodox_board_led_on(void);
|
||||
extern inline void ergodox_right_led_1_on(void);
|
||||
extern inline void ergodox_right_led_2_on(void);
|
||||
@@ -451,4 +447,3 @@ uint32_t layer_state_set_kb(uint32_t state) {
|
||||
return state;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
@@ -16,9 +16,6 @@
|
||||
#include "ez.h"
|
||||
#include "ch.h"
|
||||
#include "hal.h"
|
||||
#ifdef WEBUSB_ENABLE
|
||||
#include "webusb.h"
|
||||
#endif
|
||||
|
||||
keyboard_config_t keyboard_config;
|
||||
|
||||
|
||||
@@ -49,10 +49,6 @@ extern backlight_config_t backlight_config;
|
||||
# include "encoder.h"
|
||||
#endif
|
||||
|
||||
#ifdef WEBUSB_ENABLE
|
||||
# include "webusb.h"
|
||||
#endif
|
||||
|
||||
#ifdef AUDIO_ENABLE
|
||||
# ifndef GOODBYE_SONG
|
||||
# define GOODBYE_SONG SONG(GOODBYE_SOUND)
|
||||
|
||||
+5
-1
@@ -157,11 +157,15 @@ extern layer_state_t layer_state;
|
||||
#include "dip_switch.h"
|
||||
#endif
|
||||
|
||||
|
||||
#ifdef WEBUSB_ENABLE
|
||||
# include "webusb.h"
|
||||
#endif
|
||||
|
||||
#ifdef DYNAMIC_MACRO_ENABLE
|
||||
#include "process_dynamic_macro.h"
|
||||
#endif
|
||||
|
||||
|
||||
// Function substitutions to ease GPIO manipulation
|
||||
#if defined(__AVR__)
|
||||
typedef uint8_t pin_t;
|
||||
|
||||
Reference in New Issue
Block a user