File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -160,11 +160,11 @@ def phase_setup(ser):
160
160
161
161
baud_detect_byte = b'U'
162
162
163
- print ('\n phase:\t setup' )
163
+ verboseprint ('\n phase:\t setup' )
164
164
165
165
# Handle the serial startup blip
166
166
ser .reset_input_buffer ()
167
- print ('\t cleared startup blip' )
167
+ verboseprint ('\t cleared startup blip' )
168
168
169
169
ser .write (baud_detect_byte ) # send the baud detection character
170
170
@@ -173,7 +173,7 @@ def phase_setup(ser):
173
173
return 1
174
174
175
175
print ('\t Got SVL Bootloader Version: ' + str (int .from_bytes (packet ['data' ],'big' )))
176
- print ('\t Sending \' enter bootloader\' command' )
176
+ verboseprint ('\t Sending \' enter bootloader\' command' )
177
177
178
178
send_packet (ser , SVL_CMD_BL , b'' )
179
179
@@ -235,9 +235,6 @@ def phase_bootload(ser):
235
235
236
236
print ('\n \t Upload complete' )
237
237
238
- exit ()
239
-
240
-
241
238
242
239
243
240
You can’t perform that action at this time.
0 commit comments