Provide LONG_FILENAME_LENGTH for headers (#15582)

2.0.x
Francois Rainville 5 years ago committed by Scott Lahteine
parent 832cb7e1ac
commit dd0c5de4c7

@ -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"

@ -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