Searched refs:disk_res (Results 1 – 1 of 1) sorted by relevance
489 DRESULT disk_res; in fatfs_unmount() local499 disk_res = disk_ioctl(((FATFS *)mountp->fs_data)->pdrv, CTRL_POWER, ¶m); in fatfs_unmount()500 if (disk_res != RES_OK) { in fatfs_unmount()501 LOG_ERR("Could not power off disk (%d)", disk_res); in fatfs_unmount()502 return translate_disk_error(disk_res); in fatfs_unmount()