Browse Source

🐛 Fix Arduino IDE build (TOUCH_UI_FTDI_EVE includes) (#22276)

Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com>
ellensp 4 years ago
parent
commit
e96720c076
No account linked to committer's email address

+ 1
- 1
Marlin/src/lcd/extui/ftdi_eve_touch_ui/archim2-flash/flash_storage.cpp View File

20
  *   location: <https://www.gnu.org/licenses/>.                             *
20
  *   location: <https://www.gnu.org/licenses/>.                             *
21
  ****************************************************************************/
21
  ****************************************************************************/
22
 
22
 
23
-#include "../compat.h"
23
+#include "../config.h"
24
 
24
 
25
 #if ENABLED(TOUCH_UI_FTDI_EVE)
25
 #if ENABLED(TOUCH_UI_FTDI_EVE)
26
 
26
 

+ 1
- 1
Marlin/src/lcd/extui/ftdi_eve_touch_ui/archim2-flash/media_file_reader.cpp View File

20
  *   location: <https://www.gnu.org/licenses/>.                             *
20
  *   location: <https://www.gnu.org/licenses/>.                             *
21
  ****************************************************************************/
21
  ****************************************************************************/
22
 
22
 
23
-#include "../compat.h"
23
+#include "../config.h"
24
 
24
 
25
 #if ENABLED(TOUCH_UI_FTDI_EVE)
25
 #if ENABLED(TOUCH_UI_FTDI_EVE)
26
   #include "media_file_reader.h"
26
   #include "media_file_reader.h"

+ 5
- 1
Marlin/src/lcd/extui/ftdi_eve_touch_ui/config.h View File

21
 
21
 
22
 #pragma once
22
 #pragma once
23
 
23
 
24
+// Configure this display with options in Configuration_adv.h
25
+#include "../../../inc/MarlinConfigPre.h"
26
+#if ENABLED(TOUCH_UI_FTDI_EVE)
27
+
24
 #include "compat.h"
28
 #include "compat.h"
25
 
29
 
26
-// Configure this display with options in Configuration_adv.h
30
+#endif

+ 1
- 1
Marlin/src/lcd/extui/ftdi_eve_touch_ui/screens.h View File

22
 
22
 
23
 #pragma once
23
 #pragma once
24
 
24
 
25
-#include "compat.h"
25
+#include "config.h"
26
 
26
 
27
 #if ENABLED(TOUCH_UI_FTDI_EVE)
27
 #if ENABLED(TOUCH_UI_FTDI_EVE)
28
 
28
 

+ 1
- 1
Marlin/src/lcd/extui/ftdi_eve_touch_ui/theme/sounds.cpp View File

20
  *   location: <https://www.gnu.org/licenses/>.                             *
20
  *   location: <https://www.gnu.org/licenses/>.                             *
21
  ****************************************************************************/
21
  ****************************************************************************/
22
 
22
 
23
-#include "../compat.h"
23
+#include "../config.h"
24
 
24
 
25
 #if ENABLED(TOUCH_UI_FTDI_EVE)
25
 #if ENABLED(TOUCH_UI_FTDI_EVE)
26
 
26
 

Loading…
Cancel
Save