From 1d604be6715bd322a03cd566e33d867349a4597e Mon Sep 17 00:00:00 2001 From: Scott Lahteine Date: Wed, 7 Mar 2018 02:00:19 -0600 Subject: [PATCH] Suspend auto-report during UBL map output --- Marlin/src/feature/bedlevel/ubl/ubl.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Marlin/src/feature/bedlevel/ubl/ubl.cpp b/Marlin/src/feature/bedlevel/ubl/ubl.cpp index 44a88fc47..2b7aaf2f7 100644 --- a/Marlin/src/feature/bedlevel/ubl/ubl.cpp +++ b/Marlin/src/feature/bedlevel/ubl/ubl.cpp @@ -195,6 +195,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"); @@ -259,6 +263,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() {