From f2e3231c46714ccc46e3436c61d9cb6e9ef2aaff Mon Sep 17 00:00:00 2001 From: EmergReanimator Date: Thu, 3 Jun 2021 21:17:44 +0200 Subject: [PATCH] resolves #4153: Fixed build issue when CIRCUITPY_USB is off --- shared-bindings/supervisor/Runtime.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/shared-bindings/supervisor/Runtime.c b/shared-bindings/supervisor/Runtime.c index b7ebdd850a..262346bad2 100644 --- a/shared-bindings/supervisor/Runtime.c +++ b/shared-bindings/supervisor/Runtime.c @@ -33,7 +33,9 @@ #include "shared-bindings/supervisor/RunReason.h" #include "shared-bindings/supervisor/Runtime.h" +#if (CIRCUITPY_USB) #include "tusb.h" +#endif STATIC supervisor_run_reason_t _run_reason;