log: Make ESP_LOGx macros into single statements

Requires a semicolon after any use (previously this was optional due to trailing } after expansion)

Closes https://github.com/espressif/esp-idf/issues/1757
This commit is contained in:
Angus Gratton
2018-04-20 13:41:11 +10:00
committed by Angus Gratton
parent 5d3b26e8d0
commit 2f318d16fa
5 changed files with 63 additions and 56 deletions

View File

@@ -191,7 +191,7 @@ esp_err_t esp_ota_write(esp_ota_handle_t handle, const void *data, size_t size)
}
//if go to here ,means don't find the handle
ESP_LOGE(TAG,"not found the handle")
ESP_LOGE(TAG,"not found the handle");
return ESP_ERR_INVALID_ARG;
}