1
0
mirror of https://github.com/MarlinFirmware/Marlin.git synced 2024-11-27 13:56:24 +00:00

Merge pull request #6976 from Tannoo/Leveling_in_About_Printer

Leveling type in About Printer
This commit is contained in:
Scott Lahteine 2017-06-07 17:26:21 -05:00 committed by GitHub
commit 1d615e0a67
2 changed files with 26 additions and 0 deletions

View File

@ -688,6 +688,21 @@
#ifndef MSG_INFO_PRINTER_MENU
#define MSG_INFO_PRINTER_MENU _UxGT("Printer Info")
#endif
#ifndef MSG_3POINT_LEVELING
#define MSG_3POINT_LEVELING _UxGT("3-Point Leveling")
#endif
#ifndef MSG_LINEAR_LEVELING
#define MSG_LINEAR_LEVELING _UxGT("Linear Leveling")
#endif
#ifndef MSG_BILINEAR_LEVELING
#define MSG_BILINEAR_LEVELING _UxGT("Bilinear Leveling")
#endif
#ifndef MSG_UBL_LEVELING
#define MSG_UBL_LEVELING _UxGT("Unified Bed Leveling")
#endif
#ifndef MSG_MESH_LEVELING
#define MSG_MESH_LEVELING _UxGT("Mesh Leveling")
#endif
#ifndef MSG_INFO_STATS_MENU
#define MSG_INFO_STATS_MENU _UxGT("Printer Stats")
#endif

View File

@ -3359,6 +3359,17 @@ void kill_screen(const char* lcd_msg) {
STATIC_ITEM(MACHINE_NAME, true); // My3DPrinter
STATIC_ITEM(WEBSITE_URL, true); // www.my3dprinter.com
STATIC_ITEM(MSG_INFO_EXTRUDERS ": " STRINGIFY(EXTRUDERS), true); // Extruders: 2
#if ENABLED(AUTO_BED_LEVELING_3POINT)
STATIC_ITEM(MSG_3POINT_LEVELING, true); // 3-Point Leveling
#elif ENABLED(AUTO_BED_LEVELING_LINEAR)
STATIC_ITEM(MSG_LINEAR_LEVELING, true); // Linear Leveling
#elif ENABLED(AUTO_BED_LEVELING_BILINEAR)
STATIC_ITEM(MSG_BILINEAR_LEVELING, true); // Bi-linear Leveling
#elif ENABLED(AUTO_BED_LEVELING_UBL)
STATIC_ITEM(MSG_UBL_LEVELING, true); // Unified Bed Leveling
#elif ENABLED(MESH_BED_LEVELING)
STATIC_ITEM(MSG_MESH_LEVELING, true); // Mesh Leveling
#endif
END_SCREEN();
}