From 11ab5dfd36bedcc74df79c1cd414a548eb3c03eb Mon Sep 17 00:00:00 2001 From: PavelSindler Date: Tue, 18 Dec 2018 17:33:27 +0100 Subject: [PATCH] fail stats menu for mmu defined for MK2.5 version --- Firmware/ultralcd.cpp | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/Firmware/ultralcd.cpp b/Firmware/ultralcd.cpp index 4599ee3a..12e47ea9 100644 --- a/Firmware/ultralcd.cpp +++ b/Firmware/ultralcd.cpp @@ -1922,6 +1922,15 @@ static void lcd_menu_extruder_info() menu_back_if_clicked(); } +static void lcd_menu_fails_stats_mmu() +{ + MENU_BEGIN(); + MENU_ITEM_BACK_P(_T(MSG_MAIN)); + MENU_ITEM_SUBMENU_P(_i("Last print"), lcd_menu_fails_stats_mmu_print); + MENU_ITEM_SUBMENU_P(_i("Total"), lcd_menu_fails_stats_mmu_total); + MENU_END(); +} + #if defined(TMC2130) && defined(FILAMENT_SENSOR) static void lcd_menu_fails_stats_total() { @@ -2008,15 +2017,6 @@ static void lcd_menu_fails_stats() MENU_END(); } -static void lcd_menu_fails_stats_mmu() -{ - MENU_BEGIN(); - MENU_ITEM_BACK_P(_T(MSG_MAIN)); - MENU_ITEM_SUBMENU_P(_i("Last print"), lcd_menu_fails_stats_mmu_print); - MENU_ITEM_SUBMENU_P(_i("Total"), lcd_menu_fails_stats_mmu_total); - MENU_END(); -} - #elif defined(FILAMENT_SENSOR) /** * @brief Print last print and total filament run outs