summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteveis <SteveAmor@users.noreply.github.com>2021-10-26 17:16:42 +0100
committerJF <JF002@users.noreply.github.com>2021-11-28 14:05:52 +0100
commit34511a66ee419086eafe4b5c0f932d7c5b1ab0a7 (patch)
tree315dbf8490ba9645911397a219642e2cb84e3440
parent2ffbf8b7b341a48b75b5347370b59f4d32bdfce8 (diff)
About : Remove misleading info
Removed Steps which is hard coded to display 0. Could be misleading and is using up memory.
-rw-r--r--src/displayapp/screens/SystemInfo.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/displayapp/screens/SystemInfo.cpp b/src/displayapp/screens/SystemInfo.cpp
index 350c15cf..c363e2dd 100644
--- a/src/displayapp/screens/SystemInfo.cpp
+++ b/src/displayapp/screens/SystemInfo.cpp
@@ -182,9 +182,7 @@ std::unique_ptr<Screen> SystemInfo::CreateScreen3() {
" #444444 used# %d (%d%%)\n"
" #444444 max used# %lu\n"
" #444444 frag# %d%%\n"
- " #444444 free# %d"
- "\n"
- "#444444 Steps# %i",
+ " #444444 free# %d",
bleAddr[5],
bleAddr[4],
bleAddr[3],
@@ -195,8 +193,7 @@ std::unique_ptr<Screen> SystemInfo::CreateScreen3() {
mon.used_pct,
mon.max_used,
mon.frag_pct,
- static_cast<int>(mon.free_biggest_size),
- 0);
+ static_cast<int>(mon.free_biggest_size));
lv_obj_align(label, lv_scr_act(), LV_ALIGN_CENTER, 0, 0);
return std::make_unique<Screens::Label>(2, 5, app, label);
}