Skip to content

Commit 34511a6

Browse files
SteveAmorJF002
authored andcommitted
About : Remove misleading info
Removed Steps which is hard coded to display 0. Could be misleading and is using up memory.
1 parent 2ffbf8b commit 34511a6

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

src/displayapp/screens/SystemInfo.cpp

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -182,9 +182,7 @@ std::unique_ptr<Screen> SystemInfo::CreateScreen3() {
182182
" #444444 used# %d (%d%%)\n"
183183
" #444444 max used# %lu\n"
184184
" #444444 frag# %d%%\n"
185-
" #444444 free# %d"
186-
"\n"
187-
"#444444 Steps# %i",
185+
" #444444 free# %d",
188186
bleAddr[5],
189187
bleAddr[4],
190188
bleAddr[3],
@@ -195,8 +193,7 @@ std::unique_ptr<Screen> SystemInfo::CreateScreen3() {
195193
mon.used_pct,
196194
mon.max_used,
197195
mon.frag_pct,
198-
static_cast<int>(mon.free_biggest_size),
199-
0);
196+
static_cast<int>(mon.free_biggest_size));
200197
lv_obj_align(label, lv_scr_act(), LV_ALIGN_CENTER, 0, 0);
201198
return std::make_unique<Screens::Label>(2, 5, app, label);
202199
}

0 commit comments

Comments
 (0)