From 931806b02c4531e3629ee92a8854abc9614739c5 Mon Sep 17 00:00:00 2001 From: Guilhem Moulin 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/model01.ino') 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 #include #include +#ifdef ENABLE_SERIAL +# include +#endif #include #include #include @@ -45,6 +48,9 @@ KALEIDOSCOPE_INIT_PLUGINS( , EscapeOneShot , ActiveModColorEffect , Macros +#ifdef ENABLE_SERIAL + , Focus +#endif ); void setup() { -- cgit v1.2.3