浏览代码

mode switching

info-message viewing during mode switching
MRprusa3d 5 年之前
父节点
当前提交
7e48d633cb
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      Firmware/ultralcd.cpp

+ 2 - 0
Firmware/ultralcd.cpp

@@ -4515,6 +4515,7 @@ static void lcd_silent_mode_set() {
 	}
   eeprom_update_byte((unsigned char *)EEPROM_SILENT, SilentModeMenu);
 #ifdef TMC2130
+  lcd_display_message_fullscreen_P(_i("Mode change in progress ..."));
   // Wait until the planner queue is drained and the stepper routine achieves
   // an idle state.
   st_synchronize();
@@ -4535,6 +4536,7 @@ static void lcd_silent_mode_set() {
 #ifdef TMC2130
   if (CrashDetectMenu && (SilentModeMenu != SILENT_MODE_NORMAL))
 	  menu_submenu(lcd_crash_mode_info2);
+  lcd_encoder_diff=0;                             // reset 'encoder buffer'
 #endif //TMC2130
 }