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:
@@ -27,6 +27,12 @@ namespace Pinetime {
|
||||
bool isTouch = false;
|
||||
};
|
||||
|
||||
Cst816S() = default;
|
||||
Cst816S(const Cst816S&) = delete;
|
||||
Cst816S& operator=(const Cst816S&) = delete;
|
||||
Cst816S(Cst816S&&) = delete;
|
||||
Cst816S& operator=(Cst816S&&) = delete;
|
||||
|
||||
void Init();
|
||||
void Probe();
|
||||
TouchInfos GetTouchInfo();
|
||||
|
Reference in New Issue
Block a user