File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -172,7 +172,8 @@ def phase_setup(ser):
172172 if (packet ['timeout' ] or packet ['crc' ]):
173173 return 1
174174
175- print ('\t Got SVL Bootloader Version: ' + str (int .from_bytes (packet ['data' ],'big' )))
175+ verboseprint ('\t Got SVL Bootloader Version: ' +
176+ str (int .from_bytes (packet ['data' ], 'big' )))
176177 verboseprint ('\t Sending \' enter bootloader\' command' )
177178
178179 send_packet (ser , SVL_CMD_BL , b'' )
@@ -240,6 +241,7 @@ def phase_bootload(ser):
240241
241242
242243
244+
243245# ***********************************************************************************
244246#
245247# Help if serial port could not be opened
@@ -339,4 +341,4 @@ def verboseprint(*args):
339341 else :
340342 verboseprint = lambda * a : None # do-nothing function
341343
342- main ()
344+ main ()
You can’t perform that action at this time.
0 commit comments