Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
TotallyNotSethP opened this issue Aug 30, 2022 · 3 comments

Comments

@TotallyNotSethP
Copy link

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
Copy link
Collaborator

the0ne commented Aug 30, 2022

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

@TotallyNotSethP
Copy link
Author

Working on a pr rn

@TotallyNotSethP
Copy link
Author

TotallyNotSethP commented Oct 11, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants