Skip to content

Commit 5fd2dd0

Browse files
committed
fixes esp32 build
1 parent 1068762 commit 5fd2dd0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

builder/esp32.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -919,7 +919,8 @@ def compile(*args): # NOQA
919919
'#define MP_USB_OTG (CONFIG_USB_OTG_SUPPORTED)\n'
920920
'#else\n'
921921
'#define MP_USB_OTG (0)\n'
922-
'#endif'
922+
'#endif\n'
923+
'#endif\n'
923924
)
924925

925926
with open(mpconfigboard_path, 'wb') as f:

0 commit comments

Comments
 (0)