aboutsummaryrefslogtreecommitdiffstats
path: root/src/DisplayApp/Screens/Tile.cpp
diff options
context:
space:
mode:
authorJF <jf@codingfield.com>2020-08-17 16:31:00 +0200
committerJF <jf@codingfield.com>2020-08-17 16:31:00 +0200
commit83f6d7d81b80809de0bc850a0b445bc035098dba (patch)
tree1e0187c2f622f17fafe15dad709089d5d04180cb /src/DisplayApp/Screens/Tile.cpp
parent18686ac2cbf6b97dd0250234ce128bd9ad350d6e (diff)
Fix most of the warnings. Remaining warnings come from nimble source code.
Diffstat (limited to 'src/DisplayApp/Screens/Tile.cpp')
-rw-r--r--src/DisplayApp/Screens/Tile.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/DisplayApp/Screens/Tile.cpp b/src/DisplayApp/Screens/Tile.cpp
index 5d4da2cf..1447d789 100644
--- a/src/DisplayApp/Screens/Tile.cpp
+++ b/src/DisplayApp/Screens/Tile.cpp
@@ -46,7 +46,6 @@ bool Tile::Refresh() {
}
void Tile::OnObjectEvent(lv_obj_t *obj, lv_event_t event, uint32_t buttonId) {
- auto* tile = static_cast<Tile*>(obj->user_data);
if(event == LV_EVENT_VALUE_CHANGED) {
app->StartApp(apps[buttonId]);
running = false;