Skip to content

Commit

Permalink
scripts: ensure gcov flag optional in versioninfo data
Browse files Browse the repository at this point in the history
Introduced in faba522
  • Loading branch information
JamieDriver committed Aug 7, 2024
1 parent c83da22 commit f189172
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jade_ota.py
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ def _log_progress(written, compressed_size):
last_written = written

result = jade.ota_update(fwcompressed, fwlength, chunksize, fwhash,
patchlen=patchlen, cb=_log_progress, gcov_dump=info['GCOV'])
patchlen=patchlen, cb=_log_progress, gcov_dump=info.get('GCOV', False))
assert result is True

logger.info(f'Total ota time in secs: {time.time() - start_time}')
Expand Down

0 comments on commit f189172

Please sign in to comment.