diff --git a/README.md b/README.md index b164560d..20d15e8b 100644 --- a/README.md +++ b/README.md @@ -24,6 +24,7 @@ The extension provides a `HostOS` singleton object. ```c++ #include +#include #include void someFunction(void) { @@ -35,7 +36,7 @@ void someFunction(void) { } } -KALEIDOSCOPE_INIT_PLUGINS(HostOS) +KALEIDOSCOPE_INIT_PLUGINS(EEPROMSettings, HostOS) void setup(void) { Kaleidoscope.setup (); @@ -96,3 +97,6 @@ these reasons, this functionality was removed. The `autoDetect()` method is now a no-op, and is deprecated. The `Kaleidoscope/HostOS-select.h` header is similarly obsolete. Both of these produce deprecation messages now, and will be removed by 2019-01-14. + +Furthermore, `HostOS` now depends on `Kaleidoscope-EEPROM-Settings`, that plugin +should be initialized first. diff --git a/examples/HostOS/HostOS.ino b/examples/HostOS/HostOS.ino index 9fb1599e..3315c976 100644 --- a/examples/HostOS/HostOS.ino +++ b/examples/HostOS/HostOS.ino @@ -15,6 +15,8 @@ * this program. If not, see . */ +#include +#include #include // *INDENT-OFF* @@ -38,7 +40,7 @@ const Key keymaps[][ROWS][COLS] PROGMEM = { }; // *INDENT-ON* -KALEIDOSCOPE_INIT_PLUGINS(HostOS); +KALEIDOSCOPE_INIT_PLUGINS(EEPROMSettings, HostOS); void setup() { Serial.begin(9600);