mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-06-04 13:18:55 -04:00
Use correct SDC card present function.
Was using the LLD function directly -- no!
This commit is contained in:
parent
9e1b88d85f
commit
f09d803e61
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ FRESULT mount() {
|
||||||
Signal<Status> status_signal;
|
Signal<Status> status_signal;
|
||||||
|
|
||||||
void poll_inserted() {
|
void poll_inserted() {
|
||||||
const auto card_present_now = sdc_lld_is_card_inserted(&SDCD1);
|
const auto card_present_now = sdcIsCardInserted(&SDCD1);
|
||||||
if( card_present_now != card_present ) {
|
if( card_present_now != card_present ) {
|
||||||
card_present = card_present_now;
|
card_present = card_present_now;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue