| 83 | } |
| 84 | |
| 85 | auto FatFsFileSystem::GetBlockDevice(uint8_t pdrv) -> vfs::BlockDevice* { |
| 86 | if (pdrv >= FF_VOLUMES) { |
| 87 | return nullptr; |
| 88 | } |
| 89 | return block_devices_[pdrv]; |
| 90 | } |
| 91 | |
| 92 | FatFsFileSystem::FatFsFileSystem(uint8_t volume_id) |
| 93 | : volume_id_(volume_id), |
nothing calls this directly
no outgoing calls
no test coverage detected