8000 Merge pull request #4858 from EmergReanimator/main · tannewt/circuitpython@e1ebc37 · GitHub
[go: up one dir, main page]

Skip to content

Commit e1ebc37

Browse files
authored
Merge pull request micropython#4858 from EmergReanimator/main
resolves micropython#4153: Fixed build issue when CIRCUITPY_USB is off
2 parents 759ec54 + f2e3231 commit e1ebc37

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

shared-bindings/supervisor/Runtime.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,9 @@
3333
#include "shared-bindings/supervisor/RunReason.h"
3434
#include "shared-bindings/supervisor/Runtime.h"
3535

36+
#if (CIRCUITPY_USB)
3637
#include "tusb.h"
38+
#endif
3739

3840
STATIC supervisor_run_reason_t _run_reason;
3941

0 commit comments

Comments
 (0)
0