浏览代码

Ask to reset Z offset before first layer calibration.

Marek Bel 5 年之前
父节点
当前提交
543ad6eb41
共有 1 个文件被更改,包括 6 次插入0 次删除
  1. 6 0
      Firmware/ultralcd.cpp

+ 6 - 0
Firmware/ultralcd.cpp

@@ -4774,6 +4774,12 @@ void lcd_toshiba_flash_air_compatibility_toggle()
 
 void lcd_v2_calibration()
 {
+    if(lcd_show_fullscreen_message_yes_no_and_wait_P(_i("Start from zero offset?"), false, false))////r=15
+    {
+        eeprom_update_word(reinterpret_cast<uint16_t *>(&(EEPROM_Sheets_base->
+                s[eeprom_read_byte(&(EEPROM_Sheets_base->active_sheet))].z_offset)),0xffff);
+    }
+
 	if (mmu_enabled)
 	{
 	    const uint8_t filament = choose_menu_P(