diff options
author | Drashna Jaelre <drashna@live.com> | 2020-01-05 21:25:25 -0800 |
---|---|---|
committer | Florian Didron <fdidron@users.noreply.github.com> | 2020-01-09 08:57:11 +0900 |
commit | 0c676d6e471e3c1eabf3158fab5cb4645abd29ee (patch) | |
tree | 8b278cb5a1e7335c6d1b13f5e7e7ce34f500c31c /quantum | |
parent | 7b8d56d6d51614baabfeb1a044d01b1a28a3385a (diff) |
Move webusb.h includes to quantum.h (#244)
Co-authored-by: Florian Didron <fdidron@users.noreply.github.com>
Diffstat (limited to 'quantum')
-rw-r--r-- | quantum/quantum.c | 4 | ||||
-rw-r--r-- | quantum/quantum.h | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/quantum/quantum.c b/quantum/quantum.c index a3ff7adfbd..e182e62790 100644 --- a/quantum/quantum.c +++ b/quantum/quantum.c @@ -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) diff --git a/quantum/quantum.h b/quantum/quantum.h index d1f9c086f0..9a38b036ff 100644 --- a/quantum/quantum.h +++ b/quantum/quantum.h @@ -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; |