Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion src/ResidentLvglModule.h
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,10 @@ namespace Resident {

class LvglModule : public Extension {
public:
static constexpr int MAX_DISPLAYS = 4;
// Eight: a device may be several panels rather than one screen, each
// registered as its own display. A slot is a name, the options and a
// pointer; nothing is allocated until that display's first bind.
static constexpr int MAX_DISPLAYS = 8;

struct DisplayOptions {
int32_t dpi = 0; // 0 = leave LVGL's default
Expand Down
Loading