Skip to content

Commit

Permalink
Fs: Fix fatfs warnings (Rust bug?)
Browse files Browse the repository at this point in the history
  • Loading branch information
corigan01 committed Jan 18, 2025
1 parent a83a027 commit bb12b97
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions crates/fs/src/fatfs/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,10 @@ enum FatEntry {
Defective,
}

// FIXME: Bug: Rust thinks some of these constants are not being used, yet they are
// used in `from_fat16` and `from_fat32` which are being used. Maybe a bug with
// Rust?
#[allow(dead_code)]
impl FatEntry {
const FREE_CLUSTER: u32 = 0;
const ALLOCATED_CLUSTER_BEGIN: u32 = 2;
Expand Down

0 comments on commit bb12b97

Please sign in to comment.