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

@ -22,7 +22,7 @@ pub fn main() -> anyhow::Result<()> {
// println!("{}", bpb);
let fat_fs = FatFs::load(Rc::new(RefCell::new(file)))?;
let fat_fs = FatFs::load(file)?;
println!("{}", fat_fs.bpb());
println!();