Use correct SDC card present function.

Was using the LLD function directly -- no!
This commit is contained in:
Jared Boone 2016-04-10 17:29:14 -07:00
parent 9e1b88d85f
commit f09d803e61

View File

@ -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;