Apply more HAS_HOTEND

This commit is contained in:
Scott Lahteine
2020-04-27 22:35:25 -05:00
parent 94291eb59f
commit 01c646a892
9 changed files with 34 additions and 66 deletions

View File

@ -544,7 +544,7 @@ void GcodeSuite::process_parsed_command(const bool no_ok/*=false*/) {
case 120: M120(); break; // M120: Enable endstops
case 121: M121(); break; // M121: Disable endstops
#if HOTENDS && HAS_LCD_MENU
#if HAS_HOTEND && HAS_LCD_MENU
case 145: M145(); break; // M145: Set material heatup parameters
#endif

View File

@ -602,7 +602,7 @@ private:
static void M191();
#endif
#if HOTENDS && HAS_LCD_MENU
#if HAS_HOTEND && HAS_LCD_MENU
static void M145();
#endif

View File

@ -22,7 +22,7 @@
#include "../../inc/MarlinConfig.h"
#if HOTENDS && HAS_LCD_MENU
#if HAS_HOTEND && HAS_LCD_MENU
#include "../gcode.h"
#include "../../lcd/ultralcd.h"