mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-01-03 23:47:08 +00:00
tool/create_packet_log: ignore SEGGER RTT console prefix
This commit is contained in:
parent
6afff83006
commit
dde2e0f082
@ -109,6 +109,9 @@ with open (outfile, 'wb') as fout:
|
||||
try:
|
||||
# try to deal with windows 16-bit unicode by dropping \0 characters
|
||||
line = ''.join([c for c in line if c != '\0'])
|
||||
# drop Segger RTT console prefix
|
||||
if line.startswith('00> '):
|
||||
line = line[4:]
|
||||
line_conter += 1
|
||||
timestamp = None
|
||||
# strip newlines
|
||||
|
Loading…
Reference in New Issue
Block a user