mirror of
https://github.com/espressif/esp-idf.git
synced 2026-05-04 20:05:25 +02:00
soc: updates caps usage
We should define caps as 1 if true. When use the caps macros, #if and #if ! should be used instead of #ifdef/#ifndef.
This commit is contained in:
@@ -36,8 +36,14 @@ static const char *GPIO_TAG = "gpio";
|
||||
ESP_LOGE(GPIO_TAG,"%s(%d): %s", __FUNCTION__, __LINE__, str); \
|
||||
return (ret_val); \
|
||||
}
|
||||
|
||||
#define GPIO_ISR_CORE_ID_UNINIT (3)
|
||||
|
||||
//default value for SOC_GPIO_SUPPORT_RTC_INDEPENDENT is 0
|
||||
#ifndef SOC_GPIO_SUPPORT_RTC_INDEPENDENT
|
||||
#define SOC_GPIO_SUPPORT_RTC_INDEPENDENT 0
|
||||
#endif
|
||||
|
||||
typedef struct {
|
||||
gpio_isr_t fn; /*!< isr function */
|
||||
void *args; /*!< isr function args */
|
||||
|
||||
Reference in New Issue
Block a user