From dc40b3ec00cc355183c468ab2ab7f77854198a59 Mon Sep 17 00:00:00 2001 From: Scott Lahteine Date: Wed, 7 Mar 2018 00:53:30 -0600 Subject: [PATCH] Suspend auto-report during UBL map output --- Marlin/ubl.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Marlin/ubl.cpp b/Marlin/ubl.cpp index c1b76e0090..df3919a0d5 100644 --- a/Marlin/ubl.cpp +++ b/Marlin/ubl.cpp @@ -175,6 +175,10 @@ // 2 : disply of the map data on a RepRap Graphical LCD Panel void unified_bed_leveling::display_map(const int map_type) { + #if HAS_AUTO_REPORTING + suspend_auto_report = true; + #endif + constexpr uint8_t spaces = 8 * (GRID_MAX_POINTS_X - 2); SERIAL_PROTOCOLPGM("\nBed Topography Report"); @@ -242,6 +246,10 @@ serial_echo_xy(GRID_MAX_POINTS_X - 1, 0); SERIAL_EOL(); } + + #if HAS_AUTO_REPORTING + suspend_auto_report = false; + #endif } bool unified_bed_leveling::sanity_check() {