diff --git a/cpu/esp32/periph/sdmmc.c b/cpu/esp32/periph/sdmmc.c index 0df13310b536..82edb754c53b 100644 --- a/cpu/esp32/periph/sdmmc.c +++ b/cpu/esp32/periph/sdmmc.c @@ -212,8 +212,8 @@ static void _init(sdmmc_dev_t *sdmmc_dev) sdmmc_dev->bus_width = SDMMC_BUS_WIDTH_1BIT; // SDMMC_BUS_WIDTH_4BIT; } -static int _send_cmd(sdmmc_dev_t *sdmmc_dev, uint8_t cmd_idx, uint32_t arg, - uint8_t resp_type, uint32_t *resp) +static int _send_cmd(sdmmc_dev_t *sdmmc_dev, sdmmc_cmd_t cmd_idx, uint32_t arg, + sdmmc_resp_t resp_type, uint32_t *resp) { /* to ensure that `sdmmc_send_acmd` is used for application specific commands */ assert((cmd_idx & SDMMC_ACMD_PREFIX) == 0);