clang-format-fix

This commit is contained in:
Jérôme Launay 2025-12-18 00:31:40 +01:00
parent a29ff93f9c
commit 2614d1da28
2 changed files with 6 additions and 7 deletions

View File

@ -52,7 +52,7 @@ void EpubReaderActivity::onEnter() {
updateRequired = true;
xTaskCreate(&EpubReaderActivity::taskTrampoline, "EpubReaderActivityTask",
24576, // Stack size
24576, // Stack size
this, // Parameters
1, // Priority
&displayTaskHandle // Task handle
@ -321,8 +321,7 @@ void EpubReaderActivity::renderScreen() {
return renderScreen();
}
Serial.printf("[%lu] [ERS] Page loaded: %d elements, %d footnotes\n",
millis(), p->elementCount, p->footnoteCount);
Serial.printf("[%lu] [ERS] Page loaded: %d elements, %d footnotes\n", millis(), p->elementCount, p->footnoteCount);
// Copy footnotes from page to currentPageFootnotes
currentPageFootnotes.clear();

View File

@ -7,11 +7,11 @@
#include "../Activity.h"
class FootnotesData {
private:
private:
FootnoteEntry entries[16];
int count;
public:
public:
FootnotesData() : count(0) {
for (int i = 0; i < 16; i++) {
entries[i].number[0] = '\0';
@ -53,7 +53,7 @@ class EpubReaderFootnotesActivity final : public Activity {
const std::function<void(const char*)> onSelectFootnote;
int selectedIndex;
public:
public:
EpubReaderFootnotesActivity(GfxRenderer& renderer, InputManager& inputManager, const FootnotesData& footnotes,
const std::function<void()>& onGoBack,
const std::function<void(const char*)>& onSelectFootnote)
@ -67,6 +67,6 @@ public:
void onExit() override;
void loop() override;
private:
private:
void render();
};