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,12 +29,12 @@ and register the `Focus` hooks:
#include <Kaleidoscope-Focus.h>
void setup() {
USE_PLUGINS(&EEPROMSettings, &FingerPainter, &Focus);
Kaleidoscope.use(&EEPROMSettings, &FingerPainter, &Focus);
Kaleidoscope.setup();
EEPROMSettings.seal();
Focus.addHook(FOCUS_HOOK_FINGERPAINTER);
}
```

@ -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