MCPcopy Create free account
hub / github.com/Simple-XX/SimpleKernel / GetBlockDevice

Method GetBlockDevice

src/filesystem/fatfs/fatfs.cpp:85–90  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

83}
84
85auto FatFsFileSystem::GetBlockDevice(uint8_t pdrv) -> vfs::BlockDevice* {
86 if (pdrv >= FF_VOLUMES) {
87 return nullptr;
88 }
89 return block_devices_[pdrv];
90}
91
92FatFsFileSystem::FatFsFileSystem(uint8_t volume_id)
93 : volume_id_(volume_id),

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected