Skip to content

Commit

Permalink
About : Remove misleading info
Browse files Browse the repository at this point in the history
Removed Steps which is hard coded to display 0.
Could be misleading and is using up memory.
  • Loading branch information
SteveAmor authored and JF002 committed Nov 28, 2021
1 parent 2ffbf8b commit 34511a6
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/displayapp/screens/SystemInfo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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],
Expand All @@ -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);
}
Expand Down

0 comments on commit 34511a6

Please sign in to comment.