summaryrefslogtreecommitdiff
path: root/src/displayapp/screens/SystemInfo.cpp
diff options
context:
space:
mode:
authorAvamander <avamander@gmail.com>2021-12-05 22:22:06 +0200
committerJF <JF002@users.noreply.github.com>2021-12-09 21:30:04 +0100
commit6a442b90a1d310d082e2626128d0f2bf8e932851 (patch)
tree9dbed1540a3e7b35a6e8426c1719be6618a9e242 /src/displayapp/screens/SystemInfo.cpp
parent645f6f43dc956e90243aa9230876e537af84e1f6 (diff)
Improved format specifiers, bracing, removed C-style casts, whitespace fixes and removed Tiles shadowing
Diffstat (limited to 'src/displayapp/screens/SystemInfo.cpp')
-rw-r--r--src/displayapp/screens/SystemInfo.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/displayapp/screens/SystemInfo.cpp b/src/displayapp/screens/SystemInfo.cpp
index 07626260..e0138f86 100644
--- a/src/displayapp/screens/SystemInfo.cpp
+++ b/src/displayapp/screens/SystemInfo.cpp
@@ -1,3 +1,5 @@
+#include <FreeRTOS.h>
+#include <task.h>
#include "displayapp/screens/SystemInfo.h"
#include <lvgl/lvgl.h>
#include "displayapp/DisplayApp.h"
@@ -41,8 +43,8 @@ SystemInfo::SystemInfo(Pinetime::Applications::DisplayApp* app,
brightnessController {brightnessController},
bleController {bleController},
watchdog {watchdog},
- motionController{motionController},
- touchPanel{touchPanel},
+ motionController {motionController},
+ touchPanel {touchPanel},
screens {app,
0,
{[this]() -> std::unique_ptr<Screen> {
@@ -182,7 +184,7 @@ std::unique_ptr<Screen> SystemInfo::CreateScreen3() {
" #444444 used# %d (%d%%)\n"
" #444444 max used# %lu\n"
" #444444 frag# %d%%\n"
- " #444444 free# %d",
+ " #444444 free# %d",
bleAddr[5],
bleAddr[4],
bleAddr[3],