Stop using USE_PLUGINS

The `USE_PLUGINS` macro is getting obsoleted, use `Kaleidoscope.use` instead.

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

@ -29,7 +29,7 @@ and register the `Focus` hooks:
#include <Kaleidoscope-Focus.h>
void setup() {
USE_PLUGINS(&EEPROMSettings, &FingerPainter, &Focus);
Kaleidoscope.use(&EEPROMSettings, &FingerPainter, &Focus);
Kaleidoscope.setup();

@ -44,7 +44,7 @@ const Key keymaps[][ROWS][COLS] PROGMEM = {
};
void setup() {
USE_PLUGINS(&LEDOff, &EEPROMSettings, &FingerPainter, &Focus);
Kaleidoscope.use(&LEDOff, &EEPROMSettings, &FingerPainter, &Focus);
Kaleidoscope.setup();

Loading…
Cancel
Save