~ruther/qmk_firmware

22812aee5c207c35010c4b5478af6039c4f2b1ef — Joel Challis 5 years ago bd55396
rgblight_task logic fixes (#7214)

2 files changed, 3 insertions(+), 3 deletions(-)

M tmk_core/protocol/lufa/lufa.c
M tmk_core/protocol/vusb/main.c
M tmk_core/protocol/lufa/lufa.c => tmk_core/protocol/lufa/lufa.c +2 -2
@@ 78,7 78,7 @@ extern keymap_config_t keymap_config;
#    include "virtser.h"
#endif

#if (defined(RGB_MIDI) | defined(RGBLIGHT_ANIMATIONS)) & defined(RGBLIGHT_ENABLE)
#if (defined(RGB_MIDI) || defined(RGBLIGHT_ANIMATIONS)) && defined(RGBLIGHT_ENABLE)
#    include "rgblight.h"
#endif



@@ 1001,7 1001,7 @@ int main(void) {
        MIDI_Device_USBTask(&USB_MIDI_Interface);
#endif

#if defined(RGBLIGHT_ANIMATIONS) & defined(RGBLIGHT_ENABLE)
#if defined(RGBLIGHT_ANIMATIONS) && defined(RGBLIGHT_ENABLE)
        rgblight_task();
#endif


M tmk_core/protocol/vusb/main.c => tmk_core/protocol/vusb/main.c +1 -1
@@ 22,7 22,7 @@
#include "debug.h"
#include "rgblight_reconfig.h"

#if (defined(RGB_MIDI) | defined(RGBLIGHT_ANIMATIONS)) & defined(RGBLIGHT_ENABLE)
#if (defined(RGB_MIDI) || defined(RGBLIGHT_ANIMATIONS)) && defined(RGBLIGHT_ENABLE)
#    include "rgblight.h"
#endif