More memory optimizations
This commit is contained in:
parent
e1648a9a42
commit
1f7946c30e
26 changed files with 403 additions and 286 deletions
|
@ -6,13 +6,15 @@
|
|||
#include "tasks/epd.hpp"
|
||||
#include "tasks/blocknotify.hpp"
|
||||
|
||||
class BlockHeightScreen {
|
||||
protected:
|
||||
static uint blockNr;
|
||||
static std::array<String, NUM_SCREENS> epdContent;
|
||||
public:
|
||||
static void init();
|
||||
static void showScreen();
|
||||
static void onNewBlock(uint blockNr);
|
||||
static std::array<String, NUM_SCREENS> getEpdContent();
|
||||
class BlockHeightScreen
|
||||
{
|
||||
protected:
|
||||
static uint blockNr;
|
||||
static char** epdContent;
|
||||
static char* psramBuffer;
|
||||
public:
|
||||
static void init();
|
||||
static void showScreen();
|
||||
static void onNewBlock(uint blockNr);
|
||||
static std::array<String, NUM_SCREENS> getEpdContent();
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue