🩹 Fix D576 buffer underrun reporting (#25931)
This commit is contained in:
@@ -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;
|
||||||
|
Reference in New Issue
Block a user