feat(sdk): Midify "__FILE__" to "__ESP_FILE__" for some components

This commit is contained in:
Dong Heng
2018-09-21 12:07:10 +08:00
parent 8f21fea94e
commit 54cd3f4b61
9 changed files with 18 additions and 18 deletions
components
esp8266/include
freertos/port/esp8266/include/freertos
heap/include
lwip
lwip/src/include/lwip
port/esp8266/include/arch
newlib/newlib/include

@ -105,7 +105,7 @@ void _esp_error_check_failed(esp_err_t rc, const char *file, int line, const cha
#define ESP_ERROR_CHECK(x) do { \
esp_err_t __err_rc = (x); \
if (__err_rc != ESP_OK) { \
_esp_error_check_failed(__err_rc, __FILE__, __LINE__, \
_esp_error_check_failed(__err_rc, __ESP_FILE__, __LINE__, \
__ASSERT_FUNC, #x); \
} \
} while(0);