浏览代码

Merge pull request #6976 from Tannoo/Leveling_in_About_Printer

Leveling type in About Printer
Scott Lahteine 8 年前
父节点
当前提交
1d615e0a67
共有 2 个文件被更改,包括 26 次插入0 次删除
  1. 15
    0
      Marlin/language_en.h
  2. 11
    0
      Marlin/ultralcd.cpp

+ 15
- 0
Marlin/language_en.h 查看文件

@@ -688,6 +688,21 @@
688 688
 #ifndef MSG_INFO_PRINTER_MENU
689 689
   #define MSG_INFO_PRINTER_MENU               _UxGT("Printer Info")
690 690
 #endif
691
+#ifndef MSG_3POINT_LEVELING
692
+  #define MSG_3POINT_LEVELING                 _UxGT("3-Point Leveling")
693
+#endif
694
+#ifndef MSG_LINEAR_LEVELING
695
+  #define MSG_LINEAR_LEVELING                 _UxGT("Linear Leveling")
696
+#endif
697
+#ifndef MSG_BILINEAR_LEVELING
698
+  #define MSG_BILINEAR_LEVELING               _UxGT("Bilinear Leveling")
699
+#endif
700
+#ifndef MSG_UBL_LEVELING
701
+  #define MSG_UBL_LEVELING                    _UxGT("Unified Bed Leveling")
702
+#endif
703
+#ifndef MSG_MESH_LEVELING
704
+  #define MSG_MESH_LEVELING                   _UxGT("Mesh Leveling")
705
+#endif
691 706
 #ifndef MSG_INFO_STATS_MENU
692 707
   #define MSG_INFO_STATS_MENU                 _UxGT("Printer Stats")
693 708
 #endif

+ 11
- 0
Marlin/ultralcd.cpp 查看文件

@@ -3359,6 +3359,17 @@ void kill_screen(const char* lcd_msg) {
3359 3359
       STATIC_ITEM(MACHINE_NAME, true);                                 // My3DPrinter
3360 3360
       STATIC_ITEM(WEBSITE_URL, true);                                  // www.my3dprinter.com
3361 3361
       STATIC_ITEM(MSG_INFO_EXTRUDERS ": " STRINGIFY(EXTRUDERS), true); // Extruders: 2
3362
+      #if ENABLED(AUTO_BED_LEVELING_3POINT)
3363
+        STATIC_ITEM(MSG_3POINT_LEVELING, true);                        // 3-Point Leveling
3364
+      #elif ENABLED(AUTO_BED_LEVELING_LINEAR)
3365
+        STATIC_ITEM(MSG_LINEAR_LEVELING, true);                        // Linear Leveling
3366
+      #elif ENABLED(AUTO_BED_LEVELING_BILINEAR)
3367
+        STATIC_ITEM(MSG_BILINEAR_LEVELING, true);                      // Bi-linear Leveling
3368
+      #elif ENABLED(AUTO_BED_LEVELING_UBL)
3369
+        STATIC_ITEM(MSG_UBL_LEVELING, true);                           // Unified Bed Leveling
3370
+      #elif ENABLED(MESH_BED_LEVELING)
3371
+        STATIC_ITEM(MSG_MESH_LEVELING, true);                          // Mesh Leveling
3372
+      #endif
3362 3373
       END_SCREEN();
3363 3374
     }
3364 3375
 

正在加载...
取消
保存