Skip to content

Commit bc3c042

Browse files
committed
chore: Fixed an SDIO compilation warning issue
1 parent 760e656 commit bc3c042

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
@@ -145,7 +145,7 @@ static void at_sdio_task(void *params)
145145
continue;
146146
}
147147

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

0 commit comments

Comments
 (0)