diff options
author | David Crocker <dcrocker@eschertech.com> | 2020-07-15 21:51:55 +0300 |
---|---|---|
committer | David Crocker <dcrocker@eschertech.com> | 2020-07-15 21:51:55 +0300 |
commit | 9146d4a77fe81b52545c18e5541061190f311a6a (patch) | |
tree | 265db7d8c783fbdd946c65a494569f6094509a38 /src/Display/Menu.h | |
parent | 89e757ff204628e40891c0f220e061b6d13af5dd (diff) |
Refactored 12864 display code in preparation for ST7567 support
Also allow driver numbers of the form 0.# on boards that do not support
CAN expansion
Diffstat (limited to 'src/Display/Menu.h')
-rw-r--r-- | src/Display/Menu.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Display/Menu.h b/src/Display/Menu.h index 27ae884b..02d64a1a 100644 --- a/src/Display/Menu.h +++ b/src/Display/Menu.h @@ -21,7 +21,7 @@ class MessageBox; class Menu { public: - Menu(Lcd7920& refLcd) noexcept; + Menu(Lcd& refLcd) noexcept; void Load(const char* filename) noexcept; // load a menu file void Pop() noexcept; void EncoderAction(int action) noexcept; @@ -63,7 +63,7 @@ private: static const PixelNumber InnerMargin = 2; // how many pixels we keep clear inside the border static const PixelNumber OuterMargin = 8 + InnerMargin; // how many pixels of the previous menu we leave on each side - Lcd7920& lcd; + Lcd& lcd; uint32_t timeoutValue; // how long to time out after 0 = no timeout uint32_t lastActionTime; |