File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -193,7 +193,7 @@ def phase_bootload(ser):
193193
194194 frame_size = 512 * 4
195195
196- print ('\n phase:\t bootload' )
196+ verboseprint ('\n phase:\t bootload' )
197197
198198 with open (args .binfile , mode = 'rb' ) as binfile :
199199 application = binfile .read ()
@@ -202,7 +202,7 @@ def phase_bootload(ser):
202202 total_frames = math .ceil (total_len / frame_size )
203203 curr_frame = 0
204204
205- verboseprint ('\t Length to send: ' + str (total_len ) + ' bytes, ' + str (total_frames ) + ' frames' )
205+ verboseprint ('\t have ' + str (total_len ) + ' bytes to send in ' + str (total_frames ) + ' frames' )
206206
207207 bl_done = False
208208 while (not bl_done ):
@@ -233,7 +233,8 @@ def phase_bootload(ser):
233233 send_packet (ser , SVL_CMD_DONE , b'' )
234234 bl_done = True
235235
236- print ('\n \t Upload complete' )
236+ verboseprint ('\n ' )
237+ print ('\t Upload complete' )
237238
238239
239240
You can’t perform that action at this time.
0 commit comments