Skip to content

Commit c61283b

Browse files
committed
Merge branch 'chore/remove_sdio_compile_warnings' into 'master'
chore: Fixed an SDIO compilation warning issue See merge request application/esp-at!1675
2 parents a2b8ca9 + bc3c042 commit c61283b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main/interface/sdio/at_sdio_task.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ static void at_sdio_task(void *params)
146146
continue;
147147
}
148148

149-
esp_at_sdio_list_t *p_list = container_of(addr, esp_at_sdio_list_t, pbuf);
149+
esp_at_sdio_list_t *p_list = container_of((uint8_t(*)[CONFIG_AT_SDIO_BLOCK_SIZE])addr, esp_at_sdio_list_t, pbuf);
150150
p_list->handle = handle;
151151
p_list->left_len = size;
152152
p_list->pos = 0;

0 commit comments

Comments
 (0)