Provide LONG_FILENAME_LENGTH for headers (#15582)

This commit is contained in:
Francois Rainville 2019-10-16 14:51:18 -04:00 committed by Scott Lahteine
parent 832cb7e1ac
commit dd0c5de4c7
2 changed files with 3 additions and 7 deletions

View file

@ -50,6 +50,7 @@
#include "extensible_ui/ui_api.h"
#include "ultralcd.h"
#include "../sd/cardreader.h"
#include "../module/temperature.h"
#include "../module/stepper.h"
#include "../module/motion.h"
@ -57,13 +58,6 @@
#include "../module/printcounter.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)
#include "../core/debug_out.h"

View file

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