whitecatboard / Lua-RTOS-ESP32

Lua RTOS for ESP32
Other
1.18k stars 222 forks source link

Attempting to read from sd card when its ejected doesnt throw exception #417

Open TotallyNotSethP opened 1 year ago

TotallyNotSethP commented 1 year ago

It outputs

E (286082) sdmmc_cmd: sdmmc_read_sectors_dma: sdmmc_send_cmd returned 0x107
E (286083) diskio_sdmmc: sdmmc_read_blocks failed (263)

but I have no way to see if the sd card can be read or not if no exception is thrown

the0ne commented 1 year ago

I agree it could be beneficial to let the user know. Did you try adding a throw there?

TotallyNotSethP commented 1 year ago

Working on a pr rn

TotallyNotSethP commented 1 year ago

Working on a pull request now!

On Tue, Aug 30, 2022, 12:58 AM Thomas E. Horner @.***> wrote:

I agree it could be beneficial to let the user know. Did you try adding a throw there?

— Reply to this email directly, view it on GitHub https://github.com/whitecatboard/Lua-RTOS-ESP32/issues/417#issuecomment-1231292858, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADRJ2N77LHU6LWE3TZPX7S3V3W5JPANCNFSM6AAAAAAQAATARE . You are receiving this because you authored the thread.Message ID: @.***>