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):
193
193
194
194
frame_size = 512 * 4
195
195
196
- print ('\n phase:\t bootload' )
196
+ verboseprint ('\n phase:\t bootload' )
197
197
198
198
with open (args .binfile , mode = 'rb' ) as binfile :
199
199
application = binfile .read ()
@@ -202,7 +202,7 @@ def phase_bootload(ser):
202
202
total_frames = math .ceil (total_len / frame_size )
203
203
curr_frame = 0
204
204
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' )
206
206
207
207
bl_done = False
208
208
while (not bl_done ):
@@ -233,7 +233,8 @@ def phase_bootload(ser):
233
233
send_packet (ser , SVL_CMD_DONE , b'' )
234
234
bl_done = True
235
235
236
- print ('\n \t Upload complete' )
236
+ verboseprint ('\n ' )
237
+ print ('\t Upload complete' )
237
238
238
239
239
240
You can’t perform that action at this time.
0 commit comments