examples: Fix the example build

Include Focus, so the example will build.

Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
pull/389/head
Gergely Nagy 8 years ago
parent b81cc12708
commit 7b8ae3c9c0

@ -20,6 +20,7 @@
#include <Kaleidoscope-LEDControl.h> #include <Kaleidoscope-LEDControl.h>
#include <Kaleidoscope-LED-Palette-Theme.h> #include <Kaleidoscope-LED-Palette-Theme.h>
#include <Kaleidoscope-EEPROM-Settings.h> #include <Kaleidoscope-EEPROM-Settings.h>
#include <Kaleidoscope-Focus.h>
namespace Example { namespace Example {
class TestLEDMode : public LEDMode { class TestLEDMode : public LEDMode {
@ -78,7 +79,8 @@ const Key keymaps[][ROWS][COLS] PROGMEM = {
}; };
void setup () { void setup () {
Kaleidoscope.use (&LEDPaletteTheme, &TestLEDMode, &EEPROMSettings, NULL); Serial.begin (9600);
Kaleidoscope.use (&Focus, &LEDPaletteTheme, &TestLEDMode, &EEPROMSettings, NULL);
Kaleidoscope.setup (); Kaleidoscope.setup ();
EEPROMSettings.seal (); EEPROMSettings.seal ();

Loading…
Cancel
Save