Skip to content

Commit

Permalink
Merge branch 'chore/remove_sdio_compile_warnings' into 'master'
Browse files Browse the repository at this point in the history
chore: Fixed an SDIO compilation warning issue

See merge request application/esp-at!1675
  • Loading branch information
xcguang committed Nov 26, 2024
2 parents a2b8ca9 + bc3c042 commit c61283b
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 @@ -146,7 +146,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 c61283b

Please sign in to comment.