mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2024-11-22 20:06:40 +00:00
Fix mmc->allow_voltage_switching assignment in sdmmc_init
This commit is contained in:
parent
4d43a86b60
commit
d57f4c54a9
2 changed files with 2 additions and 2 deletions
|
@ -3391,7 +3391,7 @@ int sdmmc_init(struct mmc *mmc, enum sdmmc_controller controller, bool allow_vol
|
|||
// Get a reference to the registers for the relevant SDMMC controller.
|
||||
mmc->controller = controller;
|
||||
mmc->regs = sdmmc_get_regs(controller);
|
||||
mmc->allow_voltage_switching = false;
|
||||
mmc->allow_voltage_switching = allow_voltage_switching;
|
||||
|
||||
// Set the defaults for the card, including the default function pointers
|
||||
// for the assumed card type, and the per-controller options.
|
||||
|
|
|
@ -3391,7 +3391,7 @@ int sdmmc_init(struct mmc *mmc, enum sdmmc_controller controller, bool allow_vol
|
|||
// Get a reference to the registers for the relevant SDMMC controller.
|
||||
mmc->controller = controller;
|
||||
mmc->regs = sdmmc_get_regs(controller);
|
||||
mmc->allow_voltage_switching = false;
|
||||
mmc->allow_voltage_switching = allow_voltage_switching;
|
||||
|
||||
// Set the defaults for the card, including the default function pointers
|
||||
// for the assumed card type, and the per-controller options.
|
||||
|
|
Loading…
Reference in a new issue