| 76 | } // namespace |
| 77 | |
| 78 | auto FatFsFileSystem::SetBlockDevice(uint8_t pdrv, vfs::BlockDevice* device) |
| 79 | -> void { |
| 80 | if (pdrv < FF_VOLUMES) { |
| 81 | block_devices_[pdrv] = device; |
| 82 | } |
| 83 | } |
| 84 | |
| 85 | auto FatFsFileSystem::GetBlockDevice(uint8_t pdrv) -> vfs::BlockDevice* { |
| 86 | if (pdrv >= FF_VOLUMES) { |
nothing calls this directly
no outgoing calls
no test coverage detected