From f09d803e61170570776eb2186c499dd7ad789ab9 Mon Sep 17 00:00:00 2001 From: Jared Boone Date: Sun, 10 Apr 2016 17:29:14 -0700 Subject: [PATCH] Use correct SDC card present function. Was using the LLD function directly -- no! --- firmware/application/sd_card.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/firmware/application/sd_card.cpp b/firmware/application/sd_card.cpp index cef4be93..ed2a90b2 100644 --- a/firmware/application/sd_card.cpp +++ b/firmware/application/sd_card.cpp @@ -44,7 +44,7 @@ FRESULT mount() { Signal 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;