From ed720194d25c1820a6754c5871c2a735496b5066 Mon Sep 17 00:00:00 2001 From: Alexander Amelkin Date: Fri, 6 Jul 2018 23:23:10 +0300 Subject: [PATCH] [2.0.x][HD44780] Remove unused include The header is not available in STM32 toolchain and is not used anywhere in ultralcd_common_HD44780.h. If it is used anywhere in HD44780 support for other platforms, it must be included in the corresponding .cpp file directly and put under appropriate conditional compilation directives for the platform requiring it. As I was unable to find such code, I consider the file unused and hence remove the inclusion. --- Marlin/src/lcd/ultralcd_common_HD44780.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Marlin/src/lcd/ultralcd_common_HD44780.h b/Marlin/src/lcd/ultralcd_common_HD44780.h index b366459cb3..970dbbf35a 100644 --- a/Marlin/src/lcd/ultralcd_common_HD44780.h +++ b/Marlin/src/lcd/ultralcd_common_HD44780.h @@ -52,8 +52,6 @@ #endif #endif -#include - extern volatile uint8_t buttons; //an extended version of the last checked buttons in a bit array. //////////////////////////////////// @@ -199,5 +197,3 @@ enum HD44780CharSet : char { }; #endif // ULTRALCD_COMMON_HD44780_H - -