From 931806b02c4531e3629ee92a8854abc9614739c5 Mon Sep 17 00:00:00 2001
From: Guilhem Moulin <guilhem@fripost.org>
Date: Tue, 25 Jun 2019 17:59:05 +0200
Subject: Optionally enable communicating with the host.

Add ENABLE_SERIAL=1 to the build environment to enable that feature.
---
 src/model01.ino | 6 ++++++
 1 file changed, 6 insertions(+)

(limited to 'src')

diff --git a/src/model01.ino b/src/model01.ino
index 03ad6c2..1a65c5d 100644
--- a/src/model01.ino
+++ b/src/model01.ino
@@ -20,6 +20,9 @@
 #include <Kaleidoscope-Colormap.h>
 #include <Kaleidoscope-EEPROM-Settings.h>
 #include <Kaleidoscope-Escape-OneShot.h>
+#ifdef ENABLE_SERIAL
+#  include <Kaleidoscope-FocusSerial.h>
+#endif
 #include <Kaleidoscope-IdleLEDs.h>
 #include <Kaleidoscope-LEDControl.h>
 #include <Kaleidoscope-LED-ActiveModColor.h>
@@ -45,6 +48,9 @@ KALEIDOSCOPE_INIT_PLUGINS(
   , EscapeOneShot
   , ActiveModColorEffect
   , Macros
+#ifdef ENABLE_SERIAL
+  , Focus
+#endif
 );
 
 void setup() {
-- 
cgit v1.2.3