Merge branch 'bugfix/wrong_cpp_guard' into 'master'

Bugfix/wrong cpp guard

Closes IDFGH-3129 and IDF-1219

See merge request espressif/esp-idf!8403
This commit is contained in:
Ivan Grokhotkov 2020-04-20 18:47:28 +08:00
commit 1a7dbe22da
2 changed files with 2 additions and 2 deletions

View file

@ -81,6 +81,6 @@ esp_err_t sigmadelta_set_prescale(sigmadelta_channel_t channel, uint8_t prescale
*/ */
esp_err_t sigmadelta_set_pin(sigmadelta_channel_t channel, gpio_num_t gpio_num); esp_err_t sigmadelta_set_pin(sigmadelta_channel_t channel, gpio_num_t gpio_num);
#ifdef _cplusplus #ifdef __cplusplus
} }
#endif #endif

View file

@ -24,7 +24,7 @@
#ifdef CONFIG_LEGACY_INCLUDE_COMMON_HEADERS #ifdef CONFIG_LEGACY_INCLUDE_COMMON_HEADERS
#include "soc/gpio_reg.h" #include "soc/gpio_reg.h"
#include "soc/gpio_pins.h" #include "soc/gpio_caps.h"
#endif #endif
#ifdef __cplusplus #ifdef __cplusplus