From 46d19323800c72e824ceea40977c93f6b8b851b5 Mon Sep 17 00:00:00 2001 From: Wurstnase Date: Mon, 11 May 2015 13:04:00 +0200 Subject: [PATCH] add plan buffer remaining for 'P' and block buffer remaining 'B' --- Marlin/Marlin_main.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Marlin/Marlin_main.cpp b/Marlin/Marlin_main.cpp index 62ac571403..b430aab7fc 100644 --- a/Marlin/Marlin_main.cpp +++ b/Marlin/Marlin_main.cpp @@ -5533,7 +5533,8 @@ void ClearToSend() { SERIAL_PROTOCOLPGM(MSG_OK); #ifdef ADVANCED_OK SERIAL_PROTOCOLPGM(" N"); SERIAL_PROTOCOL(gcode_LastN); - SERIAL_PROTOCOLPGM(" P"); SERIAL_PROTOCOL(BUFSIZE - commands_in_queue); + SERIAL_PROTOCOLPGM(" P"); SERIAL_PROTOCOL(int(BLOCK_BUFFER_SIZE - movesplanned() - 1)); + SERIAL_PROTOCOLPGM(" B"); SERIAL_PROTOCOL(BUFSIZE - commands_in_queue); #endif SERIAL_EOL; }