Skip to content

Commit

Permalink
chore: Fixed an SDIO compilation warning issue
Browse files Browse the repository at this point in the history
  • Loading branch information
ustccw committed Nov 25, 2024
1 parent 760e656 commit bc3c042
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main/interface/sdio/at_sdio_task.c
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ static void at_sdio_task(void *params)
continue;
}

esp_at_sdio_list_t *p_list = container_of(addr, esp_at_sdio_list_t, pbuf);
esp_at_sdio_list_t *p_list = container_of((uint8_t(*)[CONFIG_AT_SDIO_BLOCK_SIZE])addr, esp_at_sdio_list_t, pbuf);
p_list->handle = handle;
p_list->left_len = size;
p_list->pos = 0;
Expand Down

0 comments on commit bc3c042

Please sign in to comment.