File tree 1 file changed +3
-4
lines changed 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -1096,7 +1096,7 @@ def update_mpconfigport():
1096
1096
'#ifdef MICROPY_HW_ENABLE_USBDEV' ,
1097
1097
'#undef MICROPY_HW_ENABLE_USBDEV' ,
1098
1098
'#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" )} )' ,
1100
1100
'' ,
1101
1101
'#ifdef MICROPY_HW_USB_CDC' ,
1102
1102
'#undef MICROPY_HW_USB_CDC' ,
@@ -1138,8 +1138,7 @@ def update_mpconfigport():
1138
1138
''
1139
1139
)
1140
1140
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 ' ,
1143
1142
''
1144
1143
)
1145
1144
data = data .replace (
@@ -1183,7 +1182,7 @@ def update_mpconfigport():
1183
1182
# )
1184
1183
# continue
1185
1184
1186
- data = '\n ' .join (data )
1185
+ # data = '\n'.join(data)
1187
1186
1188
1187
write_file (MPCONFIGPORT_PATH , data )
1189
1188
You can’t perform that action at this time.
0 commit comments