unused code commented
This commit is contained in:
parent
bd59e11660
commit
d9f44eb16b
1 changed files with 5 additions and 3 deletions
|
@ -6134,13 +6134,15 @@ static void menu_action_sdfile(const char* filename, char* longFilename)
|
||||||
|
|
||||||
uint8_t depth = (uint8_t)card.getWorkDirDepth();
|
uint8_t depth = (uint8_t)card.getWorkDirDepth();
|
||||||
|
|
||||||
char dir_name[9];
|
//char dir_name[9];
|
||||||
|
|
||||||
for (uint8_t i = 0; i < depth; i++) {
|
for (uint8_t i = 0; i < depth; i++) {
|
||||||
// card.getDirName(dir_name, i + 1);
|
//card.getDirName(dir_name, i + 1);
|
||||||
MYSERIAL.println(dir_name);
|
//dir_name[8] = '\0';
|
||||||
|
//MYSERIAL.println(dir_name);
|
||||||
for (int j = 0; j < 8; j++) {
|
for (int j = 0; j < 8; j++) {
|
||||||
eeprom_write_byte((uint8_t*)EEPROM_DIRS + j + 8*i, dir_names[i][j]);
|
eeprom_write_byte((uint8_t*)EEPROM_DIRS + j + 8*i, dir_names[i][j]);
|
||||||
|
//eeprom_write_byte((uint8_t*)EEPROM_DIRS + j + 8 * i, dir_name[j]);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue