Remove Marlin.h include in backlight.h

Also removed it from sound.cpp, only include what is really required
This commit is contained in:
Guðni Már Gilbert 2023-06-23 21:33:44 +00:00 committed by DRracer
parent 749360db0f
commit f13d657c7e
3 changed files with 13 additions and 14 deletions

View File

@ -1,12 +1,12 @@
//backlight.cpp //backlight.cpp
#include "backlight.h"
#include "macros.h"
#include <avr/eeprom.h>
#include <Arduino.h> #include <Arduino.h>
#include <avr/eeprom.h>
#include "backlight.h"
#include "eeprom.h" #include "eeprom.h"
#include "pins.h"
#include "fastio.h" #include "fastio.h"
#include "macros.h"
#include "pins.h"
#include "system_timer.h"
#include "Timer.h" #include "Timer.h"
#ifdef LCD_BL_PIN #ifdef LCD_BL_PIN

View File

@ -3,8 +3,6 @@
#define _BACKLIGHT_H #define _BACKLIGHT_H
#include <inttypes.h> #include <inttypes.h>
#include "Marlin.h"
#include "pins.h"
enum Backlight_Mode enum Backlight_Mode
{ {

View File

@ -1,11 +1,12 @@
#include "sound.h" #include <Arduino.h>
#include "Marlin.h"
//#include <inttypes.h>
//#include <avr/eeprom.h>
//#include "eeprom.h"
#include "backlight.h" #include "backlight.h"
#include "eeprom.h"
#include "fastio.h"
#include "pins.h"
#include "sound.h"
#include "system_timer.h"
#include "Timer.h"
//eSOUND_MODE eSoundMode=e_SOUND_MODE_LOUD; //eSOUND_MODE eSoundMode=e_SOUND_MODE_LOUD;