mirror of
https://github.com/daveallie/crosspoint-reader.git
synced 2025-12-19 23:57:41 +03:00
Bump Page and Section file versions
This commit is contained in:
parent
01e7daa35f
commit
f67dd6a5f1
@ -3,7 +3,7 @@
|
|||||||
#include <HardwareSerial.h>
|
#include <HardwareSerial.h>
|
||||||
#include <Serialization.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); }
|
void PageLine::render(GfxRenderer& renderer, const int fontId) { block->render(renderer, fontId, xPos, yPos); }
|
||||||
|
|
||||||
|
|||||||
@ -8,7 +8,7 @@
|
|||||||
#include "Page.h"
|
#include "Page.h"
|
||||||
#include "Serialization.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) {
|
void Section::onPageComplete(std::unique_ptr<Page> page) {
|
||||||
const auto filePath = cachePath + "/page_" + std::to_string(pageCount) + ".bin";
|
const auto filePath = cachePath + "/page_" + std::to_string(pageCount) + ".bin";
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user