A few constants where they belong

This commit is contained in:
Scott Lahteine
2014-12-17 20:22:33 -08:00
parent 2f9ed1777d
commit b726511a3b
4 changed files with 12 additions and 10 deletions

View File

@@ -52,7 +52,7 @@ public:
bool logging;
bool sdprinting ;
bool cardOK ;
char filename[13];
char filename[FILENAME_LENGTH];
char longFilename[LONG_FILENAME_LENGTH];
bool filenameIsDir;
int lastnr; //last number of the autostart;
@@ -63,7 +63,7 @@ private:
SdVolume volume;
SdFile file;
#define SD_PROCEDURE_DEPTH 1
#define MAXPATHNAMELENGTH (13*MAX_DIR_DEPTH+MAX_DIR_DEPTH+1)
#define MAXPATHNAMELENGTH (FILENAME_LENGTH*MAX_DIR_DEPTH+MAX_DIR_DEPTH+1)
uint8_t file_subcall_ctr;
uint32_t filespos[SD_PROCEDURE_DEPTH];
char filenames[SD_PROCEDURE_DEPTH][MAXPATHNAMELENGTH];