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:56 (GMT) |
| commit | d8874bd03522c34a3c38f5b8b1756999f8a2908b (patch) | |
| tree | f0ff7f4f03c18057c06826d5954c9e09ba49a308 /src/displayapp/screens/BatteryIcon.cpp | |
| parent | 8b322a66a7dc9572a9a2e13b615fdd60b054f8e9 (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); |
