summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorScott Shawcroft <scott@tannewt.org>2019-08-21 13:18:43 -0700
committerScott Shawcroft <scott@tannewt.org>2019-08-22 14:23:33 -0700
commitf8e4ccac45fff441da135a55fb794c340939a403 (patch)
tree7735d2ffbdbb70a95db97e6284b0912f232da816 /main.c
parentf2a1972ba8a3eeeed33f9ac693ef4176c883aec4 (diff)
Fix builds without displayio
Diffstat (limited to 'main.c')
-rwxr-xr-xmain.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/main.c b/main.c
index 076674c44..6b56f5ff6 100755
--- a/main.c
+++ b/main.c
@@ -253,7 +253,9 @@ bool run_code_py(safe_mode_t safe_mode) {
}
bool serial_connected_before_animation = false;
+ #if CIRCUITPY_DISPLAYIO
bool refreshed_epaper_display = false;
+ #endif
rgb_status_animation_t animation;
prep_rgb_status_animation(&result, found_main, safe_mode, &animation);
while (true) {