Small cleanup

This commit is contained in:
Dave Allie committed 2025-12-06 20:24:24 +11:00
1 parent 4ecfdea1a1
commit ad8cee12ab
3 files changed
+1 -4

No files matched your search

-2
View File
@@ -12,8 +12,6 @@ void Section::onPageComplete(const Page* page) {
Serial.printf("Page %d complete\n", pageCount);
const auto filePath = cachePath + "/page_" + std::to_string(pageCount) + ".bin";
// TODO can this be removed?
SD.open(filePath.c_str(), FILE_WRITE).close();
std::ofstream outputFile("/sd" + filePath);
page->serialize(outputFile);