moved the Rc<RefCell<>> back into FatFs

This commit is contained in:
Moritz Gmeiner 2025-07-31 01:07:01 +02:00
commit f708ab0b50
5 changed files with 15 additions and 4 deletions

View file

@ -236,6 +236,7 @@ impl Bpb {
if self.fat_type() == FatType::Fat32 {
return None;
}
Some(self.fat_offset() + self.sector_to_offset(self.num_fats() as u32 * self.fat_size()))
}