Skip to content

Commit 0f0dcec

Browse files
imi415dpgeorge
authored andcommitted
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 <[email protected]>
1 parent c3f031a commit 0f0dcec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ports/mimxrt/sdcard.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ static bool sdcard_cmd_set_rel_add(mimxrt_sdcard_obj_t *card);
234234
static bool sdcard_cmd_send_csd(mimxrt_sdcard_obj_t *card, csd_t *csd);
235235
static bool sdcard_cmd_select_card(mimxrt_sdcard_obj_t *sdcard);
236236
static bool sdcard_cmd_set_blocklen(mimxrt_sdcard_obj_t *sdcard);
237-
static bool sdcard_cmd_set_bus_width(mimxrt_sdcard_obj_t *sdcard, uint8_t bus_width);
237+
static bool sdcard_cmd_set_bus_width(mimxrt_sdcard_obj_t *sdcard, usdhc_data_bus_width_t bus_width);
238238

239239
void sdcard_card_inserted_callback(USDHC_Type *base, void *userData) {
240240
#if defined MICROPY_USDHC1 && USDHC1_AVAIL

0 commit comments

Comments
 (0)