|
@ -297,7 +297,15 @@ void ThreeLeadECG_sdcard_mount() { |
|
|
return; |
|
|
return; |
|
|
} |
|
|
} |
|
|
NRF_LOG_INFO("Disk initialization succeeded."); |
|
|
NRF_LOG_INFO("Disk initialization succeeded."); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
FRESULT ff_result; |
|
|
FRESULT ff_result; |
|
|
|
|
|
// ff_result = f_mkfs("0:", FM_FAT, 4096, NULL, 0); |
|
|
|
|
|
// if (ff_result) { |
|
|
|
|
|
// NRF_LOG_INFO("mkfs failed. %d",ff_result); |
|
|
|
|
|
// return; |
|
|
|
|
|
// } |
|
|
|
|
|
|
|
|
ff_result = f_mount(&fs, "", 1); |
|
|
ff_result = f_mount(&fs, "", 1); |
|
|
if (ff_result) { |
|
|
if (ff_result) { |
|
|
NRF_LOG_INFO("Mount failed."); |
|
|
NRF_LOG_INFO("Mount failed."); |
|
|