Skip to content
Commit 75b85c64 authored by cyrozap's avatar cyrozap
Browse files

Truncate the BROM log if the log length is available

The BROM log length gets set to zero when the log is either dumped out
the UART or read by one of the DL mode "read BROM log" commands
(0xDD/0xDF), so we only limit the the output length when the reported
length is non-zero. When the reported length is zero, we simply print
each character until we either hit the default max length (0x400 bytes,
the length of the BROM log buffer) or encounter a non-printable
character.
parent ae693dad
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment