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