mirror of
https://github.com/apache/nuttx.git
synced 2026-05-15 13:16:28 +08:00
e21dd68755
When CONFIG_MMCSD_MULTIBLOCK_DISABLE is lit, all SD read/write failed. The function return the number of blocks in `ret`, set on entry to nsectors. That was then wiped out by using the ret for the mmcsd_takesem. Since the code had many path setting return, the choices for the fix could have been add a new varaible or simple init it were used. I choose the latter.