Marlin: drop lcd.h include

Only include it where needed
This commit is contained in:
Guðni Már Gilbert 2024-08-13 23:40:18 +00:00
parent 41245b2a59
commit 80f27618c9
9 changed files with 8 additions and 2 deletions

View File

@ -63,8 +63,6 @@
#define MYSERIAL MSerial
#endif
#include "lcd.h"
#define SERIAL_PROTOCOL(x) (MYSERIAL.print(x))
#define SERIAL_PROTOCOL_F(x,y) (MYSERIAL.print(x,y))
#define SERIAL_PROTOCOLPGM(x) (serialprintPGM(PSTR(x)))

View File

@ -76,6 +76,7 @@
#include "cardreader.h"
#include "ConfigurationStore.h"
#include "language.h"
#include "lcd.h"
#include "math.h"
#include "util.h"
#include "Timer.h"

View File

@ -8,6 +8,7 @@
#include "ultralcd.h"
#include "Filament_sensor.h"
#include "language.h"
#include "lcd.h"
#include "stopwatch.h"
#ifdef PRUSA_FARM

View File

@ -2,6 +2,7 @@
#include "ConfigurationStore.h"
#include "util.h"
#include "language.h"
#include "lcd.h"
#include "mesh_bed_calibration.h"
#include "mesh_bed_leveling.h"
#include "stepper.h"

View File

@ -11,6 +11,7 @@
#include "ultralcd.h"
#include "Filament_sensor.h"
#include "language.h"
#include "lcd.h"
#include "temperature.h"
#include "sound.h"

View File

@ -57,6 +57,7 @@
#include "temperature.h"
#include "fancheck.h"
#include "ultralcd.h"
#include "lcd.h"
#include "language.h"
#include "ConfigurationStore.h"

View File

@ -26,6 +26,7 @@
#include "planner.h"
#include "temperature.h"
#include "ultralcd.h"
#include "lcd.h"
#include "cardreader.h"
#include "speed_lookuptable.h"
#if defined(DIGIPOTSS_PIN) && DIGIPOTSS_PIN > -1

View File

@ -36,6 +36,7 @@
#include "fancheck.h"
#include "messages.h"
#include "language.h"
#include "lcd.h"
#include "SdFatUtil.h"

View File

@ -5,6 +5,7 @@
#include "xyzcal.h"
#include <avr/wdt.h>
#include "lcd.h"
#include "stepper.h"
#include "temperature.h"
#include "sm4.h"