mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2025-01-31 14:12:52 +00:00
🩹 Fix D576 buffer underrun reporting (#25931)
This commit is contained in:
parent
1a2816284c
commit
f8423f9da0
1 changed files with 2 additions and 2 deletions
|
@ -713,8 +713,8 @@ void GCodeQueue::advance() {
|
||||||
|
|
||||||
void GCodeQueue::report_buffer_statistics() {
|
void GCodeQueue::report_buffer_statistics() {
|
||||||
SERIAL_ECHOLNPGM("D576"
|
SERIAL_ECHOLNPGM("D576"
|
||||||
" P:", planner.moves_free(), " ", -planner_buffer_underruns, " (", max_planner_buffer_empty_duration, ")"
|
" P:", planner.moves_free(), " ", planner_buffer_underruns, " (", max_planner_buffer_empty_duration, ")"
|
||||||
" B:", BUFSIZE - ring_buffer.length, " ", -command_buffer_underruns, " (", max_command_buffer_empty_duration, ")"
|
" B:", BUFSIZE - ring_buffer.length, " ", command_buffer_underruns, " (", max_command_buffer_empty_duration, ")"
|
||||||
);
|
);
|
||||||
command_buffer_underruns = planner_buffer_underruns = 0;
|
command_buffer_underruns = planner_buffer_underruns = 0;
|
||||||
max_command_buffer_empty_duration = max_planner_buffer_empty_duration = 0;
|
max_command_buffer_empty_duration = max_planner_buffer_empty_duration = 0;
|
||||||
|
|
Loading…
Reference in a new issue