diff --git a/README.md b/README.md index a7f7fc6a..8ab29ee4 100644 --- a/README.md +++ b/README.md @@ -42,7 +42,7 @@ We can then update the keymap via [Focus][plugin:focus]. void setup() { Serial.begin(9600); - USE_PLUGINS(&EEPROMKeymap, &Focus); + Kaleidoscope.use(&EEPROMKeymap, &Focus); Kaleidoscope.setup(); diff --git a/examples/EEPROM-Keymap/EEPROM-Keymap.ino b/examples/EEPROM-Keymap/EEPROM-Keymap.ino index 207d7bae..1f3dd91d 100644 --- a/examples/EEPROM-Keymap/EEPROM-Keymap.ino +++ b/examples/EEPROM-Keymap/EEPROM-Keymap.ino @@ -42,7 +42,7 @@ const Key keymaps[][ROWS][COLS] PROGMEM = { void setup() { Serial.begin(9600); - USE_PLUGINS(&EEPROMKeymap, &Focus); + Kaleidoscope.use(&EEPROMKeymap, &Focus); Kaleidoscope.setup(); diff --git a/src/Kaleidoscope/EEPROM-Keymap.cpp b/src/Kaleidoscope/EEPROM-Keymap.cpp index a56b17ca..e9a9de8d 100644 --- a/src/Kaleidoscope/EEPROM-Keymap.cpp +++ b/src/Kaleidoscope/EEPROM-Keymap.cpp @@ -28,7 +28,7 @@ EEPROMKeymap::EEPROMKeymap(void) { } void EEPROMKeymap::begin(void) { - USE_PLUGINS(&::EEPROMSettings); + Kaleidoscope.use(&::EEPROMSettings); } void EEPROMKeymap::max_layers(uint8_t max) {