Stop using deprecated interfaces

Use `Kaleidoscope.use` instead of `USE_PLUGINS`, which is getting deprecated.

Signed-off-by: Gergely Nagy <kaleidoscope@gergo.csillger.hu>
pull/389/head
Gergely Nagy 7 years ago
parent 7eded65ba3
commit df4a6f58cf

@ -23,7 +23,7 @@ them.
#include <Kaleidoscope-LEDEffects.h>
void setup(void) {
USE_PLUGINS(&JukeBoxEffect);
Kaleidoscope.use(&JukeBoxEffect);
Kaleidoscope.setup();
}

@ -44,7 +44,7 @@ const Key keymaps[][ROWS][COLS] PROGMEM = {
void setup() {
USE_PLUGINS(&LEDOff, &MiamiEffect, &JukeboxEffect, &JukeboxAlternateEffect);
Kaleidoscope.use(&LEDOff, &MiamiEffect, &JukeboxEffect, &JukeboxAlternateEffect);
Kaleidoscope.setup();

Loading…
Cancel
Save