mirror of
https://github.com/eried/portapack-mayhem.git
synced 2024-10-01 01:26:06 -04:00
Use correct SDC card present function.
Was using the LLD function directly -- no!
This commit is contained in:
parent
9e1b88d85f
commit
f09d803e61
@ -44,7 +44,7 @@ FRESULT mount() {
|
||||
Signal<Status> status_signal;
|
||||
|
||||
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 ) {
|
||||
card_present = card_present_now;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user