瀏覽代碼

Fix reading of filenames with length = multiple of 16

main
Frank 8 年之前
父節點
當前提交
93f524e0dc
共有 1 個檔案被更改,包括 1 行新增0 行删除
  1. +1
    -0
      SerialFlashDirectory.cpp

+ 1
- 0
SerialFlashDirectory.cpp 查看文件

@@ -372,6 +372,7 @@ bool SerialFlashChip::readdir(char *filename, uint32_t strsize, uint32_t &filesi
}
}
strsize -= n;
straddr += n;
}
*(p - 1) = 0;
//Serial.printf(" name(overflow) = %s\n", filename);

Loading…
取消
儲存