driver: Remove some stray __FILE__ macros

Related to https://github.com/espressif/esp-idf/issues/6306
This commit is contained in:
Angus Gratton
2021-02-18 15:31:52 +11:00
parent 61b70c50a4
commit c68f869411
4 changed files with 6 additions and 6 deletions

View File

@@ -29,7 +29,7 @@ extern "C" {
#define TE_CHECK(cond, ret_val) ({ \
if (!(cond)) { \
ESP_LOGE(TE_TAG, "%s:%d (%s)", __FILE__, __LINE__, __FUNCTION__); \
ESP_LOGE(TE_TAG, "%s(%d)", __FUNCTION__, __LINE__); \
return (ret_val); \
} \
})