We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ffcb6ad commit 4890915Copy full SHA for 4890915
components/io_expander/esp_io_expander/esp_io_expander_gpio_wrapper.c
@@ -76,7 +76,7 @@ esp_err_t esp_io_expander_gpio_wrapper_append_handler(esp_io_expander_handle_t h
76
uint32_t end = start_io_num + cnt;
77
// Pre-allocate node before taking the lock to minimize time spent in critical section
78
ioexp_range_node_t *node = (ioexp_range_node_t *)heap_caps_malloc(sizeof(ioexp_range_node_t),
79
- MALLOC_CAP_INTERNAL | MALLOC_CAP_8BIT);
+ MALLOC_CAP_INTERNAL | MALLOC_CAP_8BIT);
80
if (node == NULL) {
81
return ESP_ERR_NO_MEM;
82
}
0 commit comments