Do not copy LittleVgl object in DislayApp, use reference instead.
Make Cst816s, SpiMaster and St7789 not copiable and not movable
This commit is contained in:
parent
bfecc8118e
commit
d834f40c10
4 changed files with 17 additions and 1 deletions
|
|
@ -43,7 +43,7 @@ namespace Pinetime {
|
|||
static void Process(void* instance);
|
||||
void InitHw();
|
||||
Pinetime::Drivers::St7789& lcd;
|
||||
Pinetime::Components::LittleVgl lvgl;
|
||||
Pinetime::Components::LittleVgl& lvgl;
|
||||
void Refresh();
|
||||
|
||||
States state = States::Running;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue