浏览代码

Do not compile farm lcd_commands

Alex Voinea 2 年之前
父节点
当前提交
2959cc0b64
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      Firmware/ultralcd.cpp

+ 3 - 0
Firmware/ultralcd.cpp

@@ -968,6 +968,7 @@ void lcd_commands()
 			}
 		}
 
+#ifdef PRUSA_FARM
 	if (lcd_commands_type == LcdCommands::FarmModeConfirm)   /// farm mode confirm
 	{
 
@@ -1005,6 +1006,8 @@ void lcd_commands()
 		}
 
 	}
+#endif //PRUSA_FARM
+
 	if (lcd_commands_type == LcdCommands::PidExtruder) {
 		char cmd1[30];