We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b39ae2e commit 8f9571eCopy full SHA for 8f9571e
cores/esp32/esp32-hal-periman.c
@@ -16,7 +16,7 @@ typedef struct ATTR_PACKED {
16
int8_t bus_channel;
17
} peripheral_pin_item_t;
18
19
-static peripheral_bus_deinit_cb_t deinit_functions[ESP32_BUS_TYPE_MAX] = { 0 };
+static peripheral_bus_deinit_cb_t deinit_functions[ESP32_BUS_TYPE_MAX] = { NULL };
20
static peripheral_pin_item_t pins[SOC_GPIO_PIN_COUNT];
21
22
#define GPIO_NOT_VALID(p) ((p >= SOC_GPIO_PIN_COUNT) || ((SOC_GPIO_VALID_GPIO_MASK & (1ULL << p)) == 0))
0 commit comments