mirror of https://github.com/arendst/Tasmota.git
Berry fix corruption in debug (#18475)
This commit is contained in:
parent
d9eeb8bf57
commit
045f8b4aec
|
@ -137,7 +137,7 @@ void be_print_inst(binstruction ins, int pc, void* fout)
|
|||
logbuf("%s", opc2str(op));
|
||||
break;
|
||||
}
|
||||
memcpy(__lbuf_tmp, __lbuf, strlen(__lbuf));
|
||||
memcpy(__lbuf_tmp, __lbuf, strlen(__lbuf)+1);
|
||||
logbuf("%s\n", __lbuf_tmp);
|
||||
if (fout) {
|
||||
be_fwrite(fout, __lbuf, strlen(__lbuf));
|
||||
|
|
Loading…
Reference in New Issue