mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2025-08-22 13:17:24 +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;
|
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;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user