diff options
author | Yilin Sun <imi415@imi.moe> | 2023-05-16 14:34:59 +0800 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2023-05-23 10:38:13 +1000 |
commit | 0f0dcec9847d8687f9f9b9ccc5d68a8d0d1ee44d (patch) | |
tree | 00305df1edd036aee99f8c89b5302f202317ef68 | |
parent | c3f031afaca1c1063ed499e3c0f40a136d6ffec2 (diff) | |
download | micropython-0f0dcec9847d8687f9f9b9ccc5d68a8d0d1ee44d.tar.gz micropython-0f0dcec9847d8687f9f9b9ccc5d68a8d0d1ee44d.zip |
mimxrt/sdcard: Fix GCC 13 build error with sdcard_cmd_set_bus_width.
This updates the declaration of 'sdcard_cmd_set_bus_width()' to the same as
its definition.
Signed-off-by: Yilin Sun <imi415@imi.moe>
-rw-r--r-- | ports/mimxrt/sdcard.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ports/mimxrt/sdcard.c b/ports/mimxrt/sdcard.c index 76d303aad0..6dbd45303b 100644 --- a/ports/mimxrt/sdcard.c +++ b/ports/mimxrt/sdcard.c @@ -234,7 +234,7 @@ static bool sdcard_cmd_set_rel_add(mimxrt_sdcard_obj_t *card); static bool sdcard_cmd_send_csd(mimxrt_sdcard_obj_t *card, csd_t *csd); static bool sdcard_cmd_select_card(mimxrt_sdcard_obj_t *sdcard); static bool sdcard_cmd_set_blocklen(mimxrt_sdcard_obj_t *sdcard); -static bool sdcard_cmd_set_bus_width(mimxrt_sdcard_obj_t *sdcard, uint8_t bus_width); +static bool sdcard_cmd_set_bus_width(mimxrt_sdcard_obj_t *sdcard, usdhc_data_bus_width_t bus_width); void sdcard_card_inserted_callback(USDHC_Type *base, void *userData) { #if defined MICROPY_USDHC1 && USDHC1_AVAIL |