Nimble : updated debug level for a print to avoid unwanted console log.

This commit is contained in:
Roshan Bangar
2022-07-19 10:34:50 +05:30
committed by BOT
parent cf8abdb554
commit c401efa7bb
2 changed files with 2 additions and 2 deletions

View File

@@ -765,7 +765,7 @@ IRAM_ATTR npl_freertos_callout_deinit(struct ble_npl_callout *co)
esp_err_t err = esp_timer_stop(callout->handle);
if(err != ESP_OK) {
if (err != ESP_ERR_INVALID_STATE) { // ESP_ERR_INVALID_STATE is expected when timer is already stopped
ESP_LOGW(TAG, "Timer not stopped");
ESP_LOGD(TAG, "Timer not stopped");
}
}
err = esp_timer_delete(callout->handle);