[Components][SDIO]修复脏值调用

This commit is contained in:
ZYH 2018-10-12 11:22:05 +08:00
parent 33cb916ff7
commit e00364c5e4
1 changed files with 1 additions and 1 deletions

View File

@ -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);