aboutsummaryrefslogtreecommitdiffstats
path: root/src/SystemTask/SystemMonitor.h
diff options
context:
space:
mode:
authorJF <jf@codingfield.com>2020-07-03 14:45:01 +0200
committerJF <jf@codingfield.com>2020-07-03 14:45:01 +0200
commitca549bcfd86ea3426a74292abbe2e4bd1303cb75 (patch)
treeb7e30d7ac39c3dbbf7929f4ec984fb66409ee753 /src/SystemTask/SystemMonitor.h
parenta83f067af9af82f034596f6f6154f4dccf598ace (diff)
Add doc about memory usage analysis.
Diffstat (limited to 'src/SystemTask/SystemMonitor.h')
-rw-r--r--src/SystemTask/SystemMonitor.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/SystemTask/SystemMonitor.h b/src/SystemTask/SystemMonitor.h
index 50dd295a..8fcfafb2 100644
--- a/src/SystemTask/SystemMonitor.h
+++ b/src/SystemTask/SystemMonitor.h
@@ -26,7 +26,7 @@ namespace Pinetime {
public:
void Process() const {
if(xTaskGetTickCount() - lastTick > 10000) {
- NRF_LOG_INFO("---------------------------------------\nFee heap : %d", xPortGetFreeHeapSize());
+ NRF_LOG_INFO("---------------------------------------\nFree heap : %d", xPortGetFreeHeapSize());
auto nb = uxTaskGetSystemState(tasksStatus, 10, NULL);
for (int i = 0; i < nb; i++) {
NRF_LOG_INFO("Task [%s] - %d", tasksStatus[i].pcTaskName, tasksStatus[i].usStackHighWaterMark);