Update to work with the new HostOS

`HostOS` depends on `EEPROMSettings` now, and as such, we need to initialize it
ourselves too.

Signed-off-by: Gergely Nagy <algernon@keyboard.io>
pull/389/head
Gergely Nagy 6 years ago
parent ce2275e8ea
commit e9542c28bd
No known key found for this signature in database
GPG Key ID: AC1E90BAC433F68F

@ -21,6 +21,8 @@ will handle the symbol actions:
```c++
#include <Kaleidoscope.h>
#include <Kaleidoscope-EEPROM-Settings.h>
#include <Kaleidoscope-HostOS.h>
#include <Kaleidoscope-Syster.h>
#include <Kaleidoscope-Unicode.h>
#include <kaleidoscope/hid.h>
@ -46,7 +48,7 @@ void systerAction(kaleidoscope::Syster::action_t action, const char *symbol) {
}
}
KALEIDOSCOPE_INIT_PLUGINS(Unicode, Syster);
KALEIDOSCOPE_INIT_PLUGINS(EEPROMSettings, HostOS, Unicode, Syster);
void setup() {
Serial.begin(9600);

@ -16,6 +16,7 @@
*/
#include <Kaleidoscope.h>
#include <Kaleidoscope-EEPROM-Settings.h>
#include <Kaleidoscope-HostOS.h>
#include <Kaleidoscope-Syster.h>
#include <Kaleidoscope-Unicode.h>
@ -64,7 +65,8 @@ void systerAction(kaleidoscope::Syster::action_t action, const char *symbol) {
}
}
KALEIDOSCOPE_INIT_PLUGINS(HostOS,
KALEIDOSCOPE_INIT_PLUGINS(EEPROMSettings,
HostOS,
Unicode,
Syster);

Loading…
Cancel
Save