diff options
| author | Michele Bini <michele.bini@gmail.com> | 2022-06-07 16:14:21 (GMT) |
|---|---|---|
| committer | Michele Bini <michele.bini@gmail.com> | 2022-06-07 17:05:42 (GMT) |
| commit | b6a36b7a67bcda6956edd56d01001ec51ab26bca (patch) | |
| tree | 7cbc38d6331f4bb43ab71cbadda1cb6ddde86a35 /src/displayapp/screens/BatteryIcon.cpp | |
| parent | 46588bac5eda62efa3d6ac96178128ad6fdb9366 (diff) | |
Inline BatteryIcon::GetObject
Diffstat (limited to 'src/displayapp/screens/BatteryIcon.cpp')
| -rw-r--r-- | src/displayapp/screens/BatteryIcon.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/displayapp/screens/BatteryIcon.cpp b/src/displayapp/screens/BatteryIcon.cpp index 2fe7c25..4c8c2b2 100644 --- a/src/displayapp/screens/BatteryIcon.cpp +++ b/src/displayapp/screens/BatteryIcon.cpp @@ -16,10 +16,6 @@ void BatteryIcon::Create(lv_obj_t* parent) { lv_obj_set_style_local_radius(batteryJuice, LV_OBJ_PART_MAIN, LV_STATE_DEFAULT, 0); } -lv_obj_t* BatteryIcon::GetObject() { - return batteryImg; -} - void BatteryIcon::SetBatteryPercentage(uint8_t percentage) { lv_obj_set_height(batteryJuice, percentage * 14 / 100); lv_obj_realign(batteryJuice); |
