Skip to content

Commit

Permalink
fixup! cpu/esp32: add SDMMC support
Browse files Browse the repository at this point in the history
  • Loading branch information
gschorcht committed Jul 5, 2023
1 parent 0993984 commit eab2fbc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cpu/esp32/periph/sdmmc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit eab2fbc

Please sign in to comment.