]> granicus.if.org Git - esp-idf/commit
Fix includes in esp_err_to_name.c.in.
authorHagen Fritsch <rumpeltux-git@irgendwo.org>
Sat, 4 May 2019 13:16:15 +0000 (15:16 +0200)
committerRoland Dobai <dobai.roland@gmail.com>
Mon, 6 May 2019 12:52:13 +0000 (14:52 +0200)
commit051b5c45c5284b891d0d7256da7ba0b46163d222
treeef86ff9ff59d5ef85e00581b49e0c69524654d1f
parent417cac66547874382d650dce3f20cf496926d6e6
Fix includes in esp_err_to_name.c.in.

esp_err_t provided by esp_err.h and thus is required and not optional.
While the python script adds the header, it wraps it with an __has_include
directive that is not supported on all compilers (notably GCC 4.8).

Closes https://github.com/espressif/esp-idf/pull/3424
components/esp_common/src/esp_err_to_name.c
components/esp_common/src/esp_err_to_name.c.in