Bump Page and Section file versions

This commit is contained in:
Dave Allie 2025-12-12 22:00:56 +11:00
parent 01e7daa35f
commit f67dd6a5f1
No known key found for this signature in database
GPG Key ID: F2FDDB3AD8D0276F
2 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@
#include <HardwareSerial.h>
#include <Serialization.h>
constexpr uint8_t PAGE_FILE_VERSION = 1;
constexpr uint8_t PAGE_FILE_VERSION = 2;
void PageLine::render(GfxRenderer& renderer, const int fontId) { block->render(renderer, fontId, xPos, yPos); }

View File

@ -8,7 +8,7 @@
#include "Page.h"
#include "Serialization.h"
constexpr uint8_t SECTION_FILE_VERSION = 3;
constexpr uint8_t SECTION_FILE_VERSION = 4;
void Section::onPageComplete(std::unique_ptr<Page> page) {
const auto filePath = cachePath + "/page_" + std::to_string(pageCount) + ".bin";