From 7b8ae3c9c01422c486f8bd0d477e5b85bc667774 Mon Sep 17 00:00:00 2001 From: Gergely Nagy Date: Thu, 1 Jun 2017 12:09:09 +0200 Subject: [PATCH] examples: Fix the example build Include Focus, so the example will build. Signed-off-by: Gergely Nagy --- examples/LED-Palette-Theme/LED-Palette-Theme.ino | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/examples/LED-Palette-Theme/LED-Palette-Theme.ino b/examples/LED-Palette-Theme/LED-Palette-Theme.ino index 6e274629..a3e5b54a 100644 --- a/examples/LED-Palette-Theme/LED-Palette-Theme.ino +++ b/examples/LED-Palette-Theme/LED-Palette-Theme.ino @@ -20,6 +20,7 @@ #include #include #include +#include namespace Example { class TestLEDMode : public LEDMode { @@ -78,7 +79,8 @@ const Key keymaps[][ROWS][COLS] PROGMEM = { }; void setup () { - Kaleidoscope.use (&LEDPaletteTheme, &TestLEDMode, &EEPROMSettings, NULL); + Serial.begin (9600); + Kaleidoscope.use (&Focus, &LEDPaletteTheme, &TestLEDMode, &EEPROMSettings, NULL); Kaleidoscope.setup (); EEPROMSettings.seal ();