Browse Source

Merge pull request #6976 from Tannoo/Leveling_in_About_Printer

Leveling type in About Printer
Scott Lahteine 8 years ago
parent
commit
1d615e0a67
2 changed files with 26 additions and 0 deletions
  1. 15
    0
      Marlin/language_en.h
  2. 11
    0
      Marlin/ultralcd.cpp

+ 15
- 0
Marlin/language_en.h View File

688
 #ifndef MSG_INFO_PRINTER_MENU
688
 #ifndef MSG_INFO_PRINTER_MENU
689
   #define MSG_INFO_PRINTER_MENU               _UxGT("Printer Info")
689
   #define MSG_INFO_PRINTER_MENU               _UxGT("Printer Info")
690
 #endif
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
 #ifndef MSG_INFO_STATS_MENU
706
 #ifndef MSG_INFO_STATS_MENU
692
   #define MSG_INFO_STATS_MENU                 _UxGT("Printer Stats")
707
   #define MSG_INFO_STATS_MENU                 _UxGT("Printer Stats")
693
 #endif
708
 #endif

+ 11
- 0
Marlin/ultralcd.cpp View File

3359
       STATIC_ITEM(MACHINE_NAME, true);                                 // My3DPrinter
3359
       STATIC_ITEM(MACHINE_NAME, true);                                 // My3DPrinter
3360
       STATIC_ITEM(WEBSITE_URL, true);                                  // www.my3dprinter.com
3360
       STATIC_ITEM(WEBSITE_URL, true);                                  // www.my3dprinter.com
3361
       STATIC_ITEM(MSG_INFO_EXTRUDERS ": " STRINGIFY(EXTRUDERS), true); // Extruders: 2
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
       END_SCREEN();
3373
       END_SCREEN();
3363
     }
3374
     }
3364
 
3375
 

Loading…
Cancel
Save