Workaround for OctoPrint failures (T1598).

Added delay to temperature report to allow OctoPrint to catch up.

Backport of upstream fix 6ed2840615
master
Marcio Teixeira 7 years ago
parent 92e058742a
commit ac85819cce

@ -13,7 +13,7 @@
* got disabled.
*/
#define LULZBOT_FW_VERSION ".70" // Change this with each update
#define LULZBOT_FW_VERSION ".71" // Change this with each update
#if ( \
!defined(LULZBOT_Gladiola_Mini) && \
@ -281,6 +281,11 @@
#define LULZBOT_LCD_PAUSE_WORKAROUND
// Fix for OctoPrint serial buffer overflow when using auto temperature
// report.
// Back port of upstream https://github.com/MarlinFirmware/Marlin/commit/6ed284061580ffc6eef40df391afb30d2f8b45f5
#define LULZBOT_OCTOPRINT_RX_BUFFER_OVERFLOW_WORKAROUND delay(2);
/************************* EXPERIMENTAL FEATURES ******************************/
#if defined(LULZBOT_USE_EXPERIMENTAL_FEATURES)

@ -7357,6 +7357,7 @@ inline void gcode_M104() {
SERIAL_PROTOCOLPAIR(" (", r / OVERSAMPLENR);
SERIAL_PROTOCOLCHAR(')');
#endif
LULZBOT_OCTOPRINT_RX_BUFFER_OVERFLOW_WORKAROUND
}
void print_heaterstates() {

Loading…
Cancel
Save