diff --git a/scripts/logextract.py b/scripts/logextract.py index 0c4ca523..feaa299d 100755 --- a/scripts/logextract.py +++ b/scripts/logextract.py @@ -67,7 +67,7 @@ clock_r = re.compile(r"^clocksync state: .* clock_est=\((?P[^ ]+)" + r" (?P[0-9]+) (?P[^ ]+)\)") repl_seq_r = re.compile(r": seq: 1" + shortseq_s) repl_clock_r = re.compile(r"clock=(?P[0-9]+) ") -mcu_r = re.compile(r"MCU '(?P[^']+)' shutdown: (?P.*)$") +mcu_r = re.compile(r"MCU '(?P[^']+)' (is_)?shutdown: (?P.*)$") def add_high_bits(val, ref, mask): half = (mask + 1) // 2