summaryrefslogtreecommitdiff
path: root/src/displayapp/LittleVgl.cpp
diff options
context:
space:
mode:
authorJF002 <JF002@users.noreply.github.com>2021-06-12 11:02:06 +0200
committerGitHub <noreply@github.com>2021-06-12 11:02:06 +0200
commit0ce98c7ac7ba66acaf504be9bb042796e12f2733 (patch)
tree3f9c7f96f0fab64f581035c72480596a4cc4db43 /src/displayapp/LittleVgl.cpp
parent79f0fcb07aa80eb70385223272e29f2ba5657bc8 (diff)
parent6d524ebea2c97e309633d5e01c3a1e37c182f27d (diff)
Merge pull request #415 from JF002/move-heap-to-static
Move dynamically allocated variables to static variables.
Diffstat (limited to 'src/displayapp/LittleVgl.cpp')
-rw-r--r--src/displayapp/LittleVgl.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/displayapp/LittleVgl.cpp b/src/displayapp/LittleVgl.cpp
index 36df51b4..c069afa2 100644
--- a/src/displayapp/LittleVgl.cpp
+++ b/src/displayapp/LittleVgl.cpp
@@ -23,6 +23,10 @@ bool touchpad_read(lv_indev_drv_t* indev_drv, lv_indev_data_t* data) {
LittleVgl::LittleVgl(Pinetime::Drivers::St7789& lcd, Pinetime::Drivers::Cst816S& touchPanel)
: lcd {lcd}, touchPanel {touchPanel}, previousClick {0, 0} {
+
+}
+
+void LittleVgl::Init() {
lv_init();
InitTheme();
InitDisplay();