mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-23 10:46:31 +00:00
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));
|
logbuf("%s", opc2str(op));
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
memcpy(__lbuf_tmp, __lbuf, strlen(__lbuf));
|
memcpy(__lbuf_tmp, __lbuf, strlen(__lbuf)+1);
|
||||||
logbuf("%s\n", __lbuf_tmp);
|
logbuf("%s\n", __lbuf_tmp);
|
||||||
if (fout) {
|
if (fout) {
|
||||||
be_fwrite(fout, __lbuf, strlen(__lbuf));
|
be_fwrite(fout, __lbuf, strlen(__lbuf));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user