mirror of
https://github.com/openstenoproject/qmk
synced 2024-11-10 02:30:07 +00:00
move #include "rgb.h"
from quantum.h to quantum.c
I think `quantum.h` should contain only API declarations that `quantum.c` provides externally. `rgb.h` contains function weak definitions. This should not be in `quantum.h`.
This commit is contained in:
parent
79b58937f4
commit
2e8b32b9b5
2 changed files with 5 additions and 3 deletions
|
@ -15,6 +15,11 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "quantum.h"
|
#include "quantum.h"
|
||||||
|
|
||||||
|
#if !defined(RGBLIGHT_ENABLE) && !defined(RGB_MATRIX_ENABLE)
|
||||||
|
#include "rgb.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef PROTOCOL_LUFA
|
#ifdef PROTOCOL_LUFA
|
||||||
#include "outputselect.h"
|
#include "outputselect.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -30,9 +30,6 @@
|
||||||
#ifdef BACKLIGHT_ENABLE
|
#ifdef BACKLIGHT_ENABLE
|
||||||
#include "backlight.h"
|
#include "backlight.h"
|
||||||
#endif
|
#endif
|
||||||
#if !defined(RGBLIGHT_ENABLE) && !defined(RGB_MATRIX_ENABLE)
|
|
||||||
#include "rgb.h"
|
|
||||||
#endif
|
|
||||||
#ifdef RGBLIGHT_ENABLE
|
#ifdef RGBLIGHT_ENABLE
|
||||||
#include "rgblight.h"
|
#include "rgblight.h"
|
||||||
#else
|
#else
|
||||||
|
|
Loading…
Reference in a new issue