Browse Source

Provide LONG_FILENAME_LENGTH for headers (#15582)

pull/1/head
Francois Rainville 5 years ago
committed by Scott Lahteine
parent
commit
dd0c5de4c7
  1. 8
      Marlin/src/lcd/extui_malyan_lcd.cpp
  2. 2
      Marlin/src/sd/cardreader.h

8
Marlin/src/lcd/extui_malyan_lcd.cpp

@ -50,6 +50,7 @@
#include "extensible_ui/ui_api.h" #include "extensible_ui/ui_api.h"
#include "ultralcd.h" #include "ultralcd.h"
#include "../sd/cardreader.h"
#include "../module/temperature.h" #include "../module/temperature.h"
#include "../module/stepper.h" #include "../module/stepper.h"
#include "../module/motion.h" #include "../module/motion.h"
@ -57,13 +58,6 @@
#include "../module/printcounter.h" #include "../module/printcounter.h"
#include "../gcode/queue.h" #include "../gcode/queue.h"
#if ENABLED(SDSUPPORT)
#include "../sd/cardreader.h"
#include "../sd/SdFatConfig.h"
#else
#define LONG_FILENAME_LENGTH 0
#endif
#define DEBUG_OUT ENABLED(DEBUG_MALYAN_LCD) #define DEBUG_OUT ENABLED(DEBUG_MALYAN_LCD)
#include "../core/debug_out.h" #include "../core/debug_out.h"

2
Marlin/src/sd/cardreader.h

@ -296,4 +296,6 @@ extern CardReader card;
#define IS_SD_PAUSED() false #define IS_SD_PAUSED() false
#define IS_SD_FILE_OPEN() false #define IS_SD_FILE_OPEN() false
#define LONG_FILENAME_LENGTH 0
#endif // !SDSUPPORT #endif // !SDSUPPORT

Loading…
Cancel
Save