Skip to content

Commit 3f418c2

Browse files
committed
fixes typo
Thanks @ste7anste7an for reporting this.
1 parent 96be505 commit 3f418c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

builder/esp32.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -853,7 +853,7 @@ def compile(): # NOQA
853853

854854
data = data.replace(pattern, pattern + '#define MICROPY_WRAP_MP_SCHED_EXCEPTION(f) IRAM_ATTR f\n')
855855
data = data.replace(pattern, pattern + '#define MICROPY_WRAP_MP_SCHED_KEYBOARD_INTERRUPT(f) IRAM_ATTR f\n')
856-
with open(mpconfigport, 'rb') as f:
856+
with open(mpconfigport, 'wb') as f:
857857
f.write(data.encode('utf-8'))
858858

859859
if board in ('ESP32_GENERIC_S2', 'ESP32_GENERIC_S3') and disable_OTG:

0 commit comments

Comments
 (0)