summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott Shawcroft <scott@tannewt.org>2021-01-21 10:24:21 -0800
committerScott Shawcroft <scott@tannewt.org>2021-01-21 10:24:21 -0800
commitaf8cc9345d8facd36d1e65cdbfc69f044a942a17 (patch)
tree0621d1b3bb01c606063b9396092ac346b0803ff9
parentb7a63dc4980808e5f9716c1851a015ae65a16eb7 (diff)
Fix ESP build
-rw-r--r--supervisor/shared/safe_mode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/supervisor/shared/safe_mode.c b/supervisor/shared/safe_mode.c
index f8e871f97..b37b38e08 100644
--- a/supervisor/shared/safe_mode.c
+++ b/supervisor/shared/safe_mode.c
@@ -28,7 +28,7 @@
#include "mphalport.h"
-#if defined(MICROPY_HW_LED_STATUS)
+#if defined(MICROPY_HW_LED_STATUS) || defined(CIRCUITPY_BOOT_BUTTON)
#include "shared-bindings/digitalio/DigitalInOut.h"
#endif
#include "shared-bindings/microcontroller/Processor.h"