Added braces to a few if statements

This commit is contained in:
Avamander
2021-05-14 12:43:29 +03:00
parent c82dee2def
commit e54163b7c2
3 changed files with 9 additions and 5 deletions

View File

@@ -12,8 +12,9 @@ void NrfLogger::Init() {
NRF_LOG_DEFAULT_BACKENDS_INIT();
if (pdPASS != xTaskCreate(NrfLogger::Process, "LOGGER", 200, this, 0, &m_logger_thread))
if (pdPASS != xTaskCreate(NrfLogger::Process, "LOGGER", 200, this, 0, &m_logger_thread)) {
APP_ERROR_HANDLER(NRF_ERROR_NO_MEM);
}
}
void NrfLogger::Process(void*) {