About : Remove misleading info

Removed Steps which is hard coded to display 0.
Could be misleading and is using up memory.
This commit is contained in:
Steveis 2021-10-26 17:16:42 +01:00 committed by JF
parent 2ffbf8b7b3
commit 34511a66ee

View File

@ -182,9 +182,7 @@ std::unique_ptr<Screen> SystemInfo::CreateScreen3() {
" #444444 used# %d (%d%%)\n" " #444444 used# %d (%d%%)\n"
" #444444 max used# %lu\n" " #444444 max used# %lu\n"
" #444444 frag# %d%%\n" " #444444 frag# %d%%\n"
" #444444 free# %d" " #444444 free# %d",
"\n"
"#444444 Steps# %i",
bleAddr[5], bleAddr[5],
bleAddr[4], bleAddr[4],
bleAddr[3], bleAddr[3],
@ -195,8 +193,7 @@ std::unique_ptr<Screen> SystemInfo::CreateScreen3() {
mon.used_pct, mon.used_pct,
mon.max_used, mon.max_used,
mon.frag_pct, mon.frag_pct,
static_cast<int>(mon.free_biggest_size), static_cast<int>(mon.free_biggest_size));
0);
lv_obj_align(label, lv_scr_act(), LV_ALIGN_CENTER, 0, 0); lv_obj_align(label, lv_scr_act(), LV_ALIGN_CENTER, 0, 0);
return std::make_unique<Screens::Label>(2, 5, app, label); return std::make_unique<Screens::Label>(2, 5, app, label);
} }