diff options
| author | ZYH <[email protected]> | 2018-10-12 11:22:05 +0800 |
|---|---|---|
| committer | ZYH <[email protected]> | 2018-10-12 11:22:05 +0800 |
| commit | e00364c5e4664024d7655e2ecef4ed450ca2f4df (patch) | |
| tree | 156f266eec70edc4b9038a617f95a51fb3020eee /components | |
| parent | 33cb916ff7aa684d06769497bb5f5914e7ff95a2 (diff) | |
[Components][SDIO]修复脏值调用
Diffstat (limited to 'components')
| -rw-r--r-- | components/drivers/sdio/sdio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/drivers/sdio/sdio.c b/components/drivers/sdio/sdio.c index 7b38c39570..dc3ddc7e1c 100644 --- a/components/drivers/sdio/sdio.c +++ b/components/drivers/sdio/sdio.c @@ -317,7 +317,7 @@ rt_uint8_t sdio_io_readb(struct rt_sdio_function *func, rt_uint32_t reg, rt_int32_t *err) { - rt_uint8_t data; + rt_uint8_t data = 0; rt_int32_t ret; ret = sdio_io_rw_direct(func->card, 0, func->num, reg, &data, 0); |
