Skip to content

Commit

Permalink
Add #ifdef FANCHECK thanks @gudnimg
Browse files Browse the repository at this point in the history
  • Loading branch information
3d-gussner committed Sep 23, 2024
1 parent 65a26e8 commit 402b9ed
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Firmware/ultralcd.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5216,7 +5216,11 @@ static void lcd_main_menu()
MENU_ITEM_FUNCTION_P(_T(MSG_FILAMENTCHANGE), lcd_colorprint_change);//8

if (!printer_recovering()) {
if ( moves_planned() || printer_active() || fan_check_error == EFCE_REPORTED) {
if ( moves_planned() || printer_active()
#ifdef FANCHECK
|| fan_check_error == EFCE_REPORTED
#endif //End FANCHECK
) {
MENU_ITEM_SUBMENU_P(_T(MSG_TUNE), lcd_tune_menu);
} else if (!Stopped) {
MENU_ITEM_SUBMENU_P(_T(MSG_PREHEAT), lcd_preheat_menu);
Expand Down

0 comments on commit 402b9ed

Please sign in to comment.