Keep "astyled" elements in cardreader.*
This commit is contained in:
@@ -248,9 +248,8 @@ void CardReader::release() {
|
||||
}
|
||||
|
||||
void CardReader::startFileprint() {
|
||||
if (cardOK) {
|
||||
if (cardOK)
|
||||
sdprinting = true;
|
||||
}
|
||||
}
|
||||
|
||||
void CardReader::pauseSDPrint() {
|
||||
@@ -267,7 +266,7 @@ void CardReader::getAbsFilename(char *t) {
|
||||
*t = '/'; t++; cnt++;
|
||||
for (uint8_t i = 0; i < workDirDepth; i++) {
|
||||
workDirParents[i].getFilename(t); //SDBaseFile.getfilename!
|
||||
while(*t && cnt < MAXPATHNAMELENGTH) { t++; cnt++; } //crawl counter forward.
|
||||
while (*t && cnt < MAXPATHNAMELENGTH) { t++; cnt++; } //crawl counter forward.
|
||||
}
|
||||
if (cnt < MAXPATHNAMELENGTH - FILENAME_LENGTH)
|
||||
file.getFilename(t);
|
||||
|
@@ -38,7 +38,7 @@ public:
|
||||
void getAbsFilename(char *t);
|
||||
|
||||
void ls();
|
||||
void chdir(const char * relpath);
|
||||
void chdir(const char *relpath);
|
||||
void updir();
|
||||
void setroot();
|
||||
|
||||
|
Reference in New Issue
Block a user