[can] Do not use wildcard reexport for bxcan
This commit is contained in:
parent
9ebf7eee6d
commit
4c30543938
@ -7,8 +7,7 @@ use embassy_hal_common::unborrow;
|
|||||||
use crate::gpio::sealed::AFType;
|
use crate::gpio::sealed::AFType;
|
||||||
use crate::{peripherals, rcc::RccPeripheral};
|
use crate::{peripherals, rcc::RccPeripheral};
|
||||||
|
|
||||||
#[doc(no_inline)]
|
pub use bxcan;
|
||||||
pub use bxcan::*;
|
|
||||||
|
|
||||||
pub struct Can<'d, T: Instance + bxcan::Instance> {
|
pub struct Can<'d, T: Instance + bxcan::Instance> {
|
||||||
phantom: PhantomData<&'d mut T>,
|
phantom: PhantomData<&'d mut T>,
|
||||||
|
@ -6,8 +6,9 @@
|
|||||||
mod example_common;
|
mod example_common;
|
||||||
|
|
||||||
use cortex_m_rt::entry;
|
use cortex_m_rt::entry;
|
||||||
use embassy_stm32::can::filter::Mask32;
|
use embassy_stm32::can::bxcan::filter::Mask32;
|
||||||
use embassy_stm32::can::{Can, Frame, StandardId};
|
use embassy_stm32::can::bxcan::{Frame, StandardId};
|
||||||
|
use embassy_stm32::can::Can;
|
||||||
use embassy_stm32::gpio::{Input, Pull};
|
use embassy_stm32::gpio::{Input, Pull};
|
||||||
use example_common::*;
|
use example_common::*;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user