mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2025-08-14 23:17:49 +00:00
Use correct SDC card present function.
Was using the LLD function directly -- no!
This commit is contained in:
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user