diff options
author | Uladzimir Pylinski <barthess@yandex.ru> | 2015-02-18 14:13:47 +0000 |
---|---|---|
committer | Uladzimir Pylinski <barthess@yandex.ru> | 2015-02-18 14:13:47 +0000 |
commit | 5b1371355936ee830e3397c2446206b612742db8 (patch) | |
tree | ec5abe5fccac4cbe34b82a9b81925dd57def31d8 | |
parent | 5b2494f872de4fb3bbc549599cf2e3d3dfbd86f5 (diff) | |
download | ChibiOS-5b1371355936ee830e3397c2446206b612742db8.tar.gz ChibiOS-5b1371355936ee830e3397c2446206b612742db8.tar.bz2 ChibiOS-5b1371355936ee830e3397c2446206b612742db8.zip |
SDIO. Fix warning about uninitialized variable.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7687 35acf78f-673a-0410-8e92-d51de3d6d3f4
-rw-r--r-- | os/hal/src/sdc.c | 2 |
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:
|