Our hardware has a hinged SD card slot, and those don't typically have a CD pin for obvious reasons. At the moment, I am just calling f_mount and relying on the result being FR_NOT_READY if there is no SD card present. Is this the recommended way? I had a gander through the source and couldn't find any other appealing way to do this, but I'd like to confirm.
Our hardware has a hinged SD card slot, and those don't typically have a CD pin for obvious reasons. At the moment, I am just calling
f_mount
and relying on the result beingFR_NOT_READY
if there is no SD card present. Is this the recommended way? I had a gander through the source and couldn't find any other appealing way to do this, but I'd like to confirm.