From e061209fc257f3a8e6cafc222fbc7d99dee51a56 Mon Sep 17 00:00:00 2001 From: PavelSindler Date: Mon, 10 Apr 2017 20:48:44 +0200 Subject: [PATCH] mesh bed leveling flag --- Firmware/Marlin_main.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Firmware/Marlin_main.cpp b/Firmware/Marlin_main.cpp index 52c4fe9e6..c99ed9090 100644 --- a/Firmware/Marlin_main.cpp +++ b/Firmware/Marlin_main.cpp @@ -54,7 +54,7 @@ #include "pins_arduino.h" #include "math.h" #include "util.h" -//#include "spline.h" + #ifdef BLINKM #include "BlinkM.h" @@ -2924,6 +2924,7 @@ void process_commands() case 80: case_G80: { + mesh_bed_leveling_flag = true; int8_t verbosity_level = 0; static bool run = false; @@ -3163,7 +3164,9 @@ void process_commands() custom_message = custom_message_old; custom_message_type = custom_message_type_old; custom_message_state = custom_message_state_old; - lcd_update(1); + mesh_bed_leveling_flag = false; + lcd_update(2); + } break;