aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--os/hal/src/sdc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/os/hal/src/sdc.c b/os/hal/src/sdc.c
index 1825e2863..422fb9e93 100644
--- a/os/hal/src/sdc.c
+++ b/os/hal/src/sdc.c
@@ -717,7 +717,7 @@ static bool sdc_set_bus_width(SDCDriver *sdcp) {
*/
static bool mmc_set_bus_width(SDCDriver *sdcp) {
uint32_t resp[1];
- uint32_t cmdarg;
+ uint32_t cmdarg = mmc_cmd6_construct(MMC_SWITCH_WRITE_BYTE, 183, 0, 0);
switch(sdcp->config->bus_width){
case SDC_MODE_1BIT: