Lua-RTOS-ESP32 icon indicating copy to clipboard operation
Lua-RTOS-ESP32 copied to clipboard

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

Open TotallyNotSethP opened this issue 2 years ago • 3 comments

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

TotallyNotSethP avatar Aug 30 '22 04:08 TotallyNotSethP

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

the0ne avatar Aug 30 '22 07:08 the0ne

Working on a pr rn

TotallyNotSethP avatar Aug 30 '22 13:08 TotallyNotSethP

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: @.***>

TotallyNotSethP avatar Oct 11 '22 06:10 TotallyNotSethP