Browse Source

Do not compile farm lcd_commands

Alex Voinea 2 years ago
parent
commit
2959cc0b64
1 changed files with 3 additions and 0 deletions
  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
 	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) {
 	if (lcd_commands_type == LcdCommands::PidExtruder) {
 		char cmd1[30];
 		char cmd1[30];