File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -137,17 +137,17 @@ STATIC mp_obj_t pyb_usb_mode(mp_obj_t usb_mode) {
137137MP_DEFINE_CONST_FUN_OBJ_1 (pyb_usb_mode_obj , pyb_usb_mode );
138138
139139static const char fresh_boot_py [] =
140- "# boot.py -- run on boot-up\n"
141- "# can run arbitrary Python, but best to keep it minimal\n"
142- "\n"
143- "import pyb\n"
144- "#pyb.main('main.py') # main script to run after this one\n"
145- "#pyb.usb_mode('CDC+MSC') # act as a serial and a storage device\n"
146- "#pyb.usb_mode('CDC+HID') # act as a serial device and a mouse\n"
140+ "# boot.py -- run on boot-up\r\ n"
141+ "# can run arbitrary Python, but best to keep it minimal\r\ n"
142+ "\r\ n"
143+ "import pyb\r\ n"
144+ "#pyb.main('main.py') # main script to run after this one\r\ n"
145+ "#pyb.usb_mode('CDC+MSC') # act as a serial and a storage device\r\ n"
146+ "#pyb.usb_mode('CDC+HID') # act as a serial device and a mouse\r\ n"
147147;
148148
149149static const char fresh_main_py [] =
150- "# main.py -- put your code here!\n"
150+ "# main.py -- put your code here!\r\ n"
151151;
152152
153153static const char fresh_pybcdc_inf [] =
You can’t perform that action at this time.
0 commit comments