File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -1096,7 +1096,7 @@ def update_mpconfigport():
10961096 '#ifdef MICROPY_HW_ENABLE_USBDEV' ,
10971097 '#undef MICROPY_HW_ENABLE_USBDEV' ,
10981098 '#endif' ,
1099- f'#define MICROPY_HW_ENABLE_USBDEV ({ int (enable_cdc_repl .lower () == "y" )} )'
1099+ f'#define MICROPY_HW_ENABLE_USBDEV ({ int (enable_cdc_repl .lower () == "y" )} )' ,
11001100 '' ,
11011101 '#ifdef MICROPY_HW_USB_CDC' ,
11021102 '#undef MICROPY_HW_USB_CDC' ,
@@ -1138,8 +1138,7 @@ def update_mpconfigport():
11381138 ''
11391139 )
11401140 data = data .replace (
1141- '#define MICROPY_WRAP_MP_SCHED_KEYBOARD_INTERRUPT(f) '
1142- 'IRAM_ATTR f\n ' ,
1141+ '#define MICROPY_WRAP_MP_SCHED_KEYBOARD_INTERRUPT(f) IRAM_ATTR f\n ' ,
11431142 ''
11441143 )
11451144 data = data .replace (
@@ -1183,7 +1182,7 @@ def update_mpconfigport():
11831182 # )
11841183 # continue
11851184
1186- data = '\n ' .join (data )
1185+ # data = '\n'.join(data)
11871186
11881187 write_file (MPCONFIGPORT_PATH , data )
11891188
You can’t perform that action at this time.
0 commit comments