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>
This commit is contained in:
parent
c3f031afac
commit
0f0dcec984
@ -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_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_select_card(mimxrt_sdcard_obj_t *sdcard);
|
||||||
static bool sdcard_cmd_set_blocklen(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) {
|
void sdcard_card_inserted_callback(USDHC_Type *base, void *userData) {
|
||||||
#if defined MICROPY_USDHC1 && USDHC1_AVAIL
|
#if defined MICROPY_USDHC1 && USDHC1_AVAIL
|
||||||
|
Loading…
Reference in New Issue
Block a user