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`.
2 files changed, 5 insertions(+), 3 deletions(-) M quantum/quantum.c M quantum/quantum.h
M quantum/quantum.c => quantum/quantum.c +5 -0
@@ 15,6 15,11 @@ */ #include "quantum.h" #if !defined(RGBLIGHT_ENABLE) && !defined(RGB_MATRIX_ENABLE) #include "rgb.h" #endif #ifdef PROTOCOL_LUFA #include "outputselect.h" #endif
M quantum/quantum.h => quantum/quantum.h +0 -3