diff options
author | Guilhem Moulin <guilhem@fripost.org> | 2019-06-25 17:59:05 +0200 |
---|---|---|
committer | Guilhem Moulin <guilhem@fripost.org> | 2019-06-26 01:04:41 +0200 |
commit | 931806b02c4531e3629ee92a8854abc9614739c5 (patch) | |
tree | 1cf969d0cdbe6d70b2688db51c6ac1f17dd3f5eb /src | |
parent | 461109e695f163303549648d93dc7d9253e88b81 (diff) |
Optionally enable communicating with the host.
Add ENABLE_SERIAL=1 to the build environment to enable that feature.
Diffstat (limited to 'src')
-rw-r--r-- | src/model01.ino | 6 |
1 files changed, 6 insertions, 0 deletions
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() { |