mirror of
https://github.com/espressif/ESP8266_RTOS_SDK.git
synced 2025-06-14 02:00:12 +08:00
feat(sdk): Midify "__FILE__" to "__ESP_FILE__" for some components
This commit is contained in:
components
esp8266/include
freertos/port/esp8266/include/freertos
heap/include
lwip
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);
|
||||
|
Reference in New Issue
Block a user