Replaced NULL with nullptr
This commit is contained in:
parent
13da1e38f0
commit
e85d1ffc62
|
@ -27,7 +27,7 @@ namespace Pinetime {
|
||||||
void Process() const {
|
void Process() const {
|
||||||
if(xTaskGetTickCount() - lastTick > 10000) {
|
if(xTaskGetTickCount() - lastTick > 10000) {
|
||||||
NRF_LOG_INFO("---------------------------------------\nFree heap : %d", xPortGetFreeHeapSize());
|
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++) {
|
for (uint32_t i = 0; i < nb; i++) {
|
||||||
NRF_LOG_INFO("Task [%s] - %d", tasksStatus[i].pcTaskName, tasksStatus[i].usStackHighWaterMark);
|
NRF_LOG_INFO("Task [%s] - %d", tasksStatus[i].pcTaskName, tasksStatus[i].usStackHighWaterMark);
|
||||||
if (tasksStatus[i].usStackHighWaterMark < 20)
|
if (tasksStatus[i].usStackHighWaterMark < 20)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user