fixup
This commit is contained in:
parent
535ac24430
commit
0fbb3174d2
1 changed files with 2 additions and 2 deletions
|
@ -87,8 +87,8 @@ pub trait Instance: bxcan::Instance + private::Sealed {
|
||||||
macro_rules! can {
|
macro_rules! can {
|
||||||
($($can:ident => ($tint:ident, $rint:ident),)+) => {
|
($($can:ident => ($tint:ident, $rint:ident),)+) => {
|
||||||
$(
|
$(
|
||||||
impl<T> private::Sealed for crate::hal::can::Can<crate::pac::$can> {}
|
impl private::Sealed for crate::hal::can::Can<crate::pac::$can> {}
|
||||||
impl<T> Instance for crate::hal::can::Can<crate::pac::$can> {
|
impl Instance for crate::hal::can::Can<crate::pac::$can> {
|
||||||
type TInterrupt = interrupt::$tint;
|
type TInterrupt = interrupt::$tint;
|
||||||
type RInterrupt = interrupt::$rint;
|
type RInterrupt = interrupt::$rint;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue