diff options
| author | JF002 <JF002@users.noreply.github.com> | 2020-10-08 18:58:24 (GMT) |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-10-08 18:58:24 (GMT) |
| commit | 0a8d8953f73cd09844652515651d55b12ce6f2bf (patch) | |
| tree | 3464df442327b60b3c7f77464f246a66c68f0d9a /src/systemtask/SystemMonitor.h | |
| parent | 9d43eff43a5984dfb368445d3428560dae9269da (diff) | |
| parent | e85d1ffc625c73dcbb30c783707bfb6110af6a41 (diff) | |
Merge pull request #80 from Avamander/patch-1
Switched from NULL to nullptr
Diffstat (limited to 'src/systemtask/SystemMonitor.h')
| -rw-r--r-- | src/systemtask/SystemMonitor.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/systemtask/SystemMonitor.h b/src/systemtask/SystemMonitor.h index ec1fd81..029a136 100644 --- a/src/systemtask/SystemMonitor.h +++ b/src/systemtask/SystemMonitor.h @@ -27,7 +27,7 @@ namespace Pinetime { void Process() const { if(xTaskGetTickCount() - lastTick > 10000) { NRF_LOG_INFO("---------------------------------------\nFree heap : %d", xPortGetFreeHeapSize()); - auto nb = uxTaskGetSystemState(tasksStatus, 10, NULL); + auto nb = uxTaskGetSystemState(tasksStatus, 10, nullptr); for (uint32_t i = 0; i < nb; i++) { NRF_LOG_INFO("Task [%s] - %d", tasksStatus[i].pcTaskName, tasksStatus[i].usStackHighWaterMark); if (tasksStatus[i].usStackHighWaterMark < 20) |
