From 03511a5a7cc53e1923f729ad93ada87bbccd05a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gu=C3=B0ni=20M=C3=A1r=20Gilbert?= Date: Sat, 24 Dec 2022 12:44:40 +0000 Subject: [PATCH] Remove redundant ultralcd includes in Marlin_main This also removes two definitions - ULTRALCD - LCD_USE_I2C_BUZZER Neither of them are defined anywhere --- Firmware/Marlin_main.cpp | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/Firmware/Marlin_main.cpp b/Firmware/Marlin_main.cpp index 1f260d642..b10116ece 100644 --- a/Firmware/Marlin_main.cpp +++ b/Firmware/Marlin_main.cpp @@ -113,10 +113,6 @@ #include "Wire.h" #endif -#ifdef ULTRALCD -#include "ultralcd.h" -#endif - #if NUM_SERVOS > 0 #include "Servo.h" #endif @@ -129,8 +125,6 @@ #define VERSION_STRING "1.0.2" - -#include "ultralcd.h" #include "sound.h" #include "cmdqueue.h" @@ -7336,7 +7330,7 @@ Sigma_Exit: break; #endif // NUM_SERVOS > 0 - #if (LARGE_FLASH == true && ( BEEPER > 0 || defined(ULTRALCD) || defined(LCD_USE_I2C_BUZZER))) + #if (LARGE_FLASH == true && BEEPER > 0 ) /*! ### M300 - Play tone M300: Play beep sound