Increase FreeRTOS heap size and re-enable heart rate task. New Nimble probably uses more memory than before.

This commit is contained in:
Jean-François Milants
2021-02-03 20:28:41 +01:00
parent d90b7274fa
commit 5016e0143f
2 changed files with 3 additions and 3 deletions

View File

@@ -14,8 +14,8 @@ HeartRateTask::HeartRateTask(Drivers::Hrs3300 &heartRateSensor, Controllers::Hea
}
void HeartRateTask::Start() {
//if (pdPASS != xTaskCreate(HeartRateTask::Process, "Heartrate", 500, this, 0, &taskHandle))
// APP_ERROR_HANDLER(NRF_ERROR_NO_MEM);
if (pdPASS != xTaskCreate(HeartRateTask::Process, "Heartrate", 500, this, 0, &taskHandle))
APP_ERROR_HANDLER(NRF_ERROR_NO_MEM);
}
void HeartRateTask::Process(void *instance) {