Skip to content

Commit

Permalink
Clippy fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mkeeter committed Aug 21, 2024
1 parent fd39e4d commit c468dc5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drv/cosmo-hf/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ fn main() -> ! {

// Check the flash chip's ID against Table 7.3.1 in the datasheet
let id = drv.flash_read_id();
if &id[0..3] != [0xef, 0x40, 0x21] {
if id[0..3] != [0xef, 0x40, 0x21] {
fail(drv_hf_api::HfError::BadChipId);
}

Expand Down

0 comments on commit c468dc5

Please sign in to comment.