Skip to content

Commit

Permalink
remove non-used import, added derives to FlexCanMailboxCSCode
Browse files Browse the repository at this point in the history
  • Loading branch information
dstric-aqueduct committed Dec 24, 2022
1 parent f73b2b8 commit fe29cf7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion imxrt-hal/src/can/frame.rs
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ impl PartialEq for Frame {
}
}

#[derive(Debug, PartialEq)]
#[derive(Debug, PartialEq, Clone, Copy)]
#[repr(u8)]
pub enum FlexCanMailboxCSCode {
RxInactive = 0b0000,
Expand Down
1 change: 0 additions & 1 deletion imxrt-hal/src/can/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ use crate::iomuxc::can;
use crate::iomuxc::consts::{Unsigned, U1, U2};
use crate::ral;

use core::convert::Infallible;
use core::marker::PhantomData;

/// Error from the FlexCan peripheral.
Expand Down

0 comments on commit fe29cf7

Please sign in to comment.