[can] Do not use wildcard reexport for bxcan

This commit is contained in:
Timo Kröger 2022-02-28 22:42:45 +01:00
parent 9ebf7eee6d
commit 4c30543938
2 changed files with 4 additions and 4 deletions

View File

@ -7,8 +7,7 @@ use embassy_hal_common::unborrow;
use crate::gpio::sealed::AFType;
use crate::{peripherals, rcc::RccPeripheral};
#[doc(no_inline)]
pub use bxcan::*;
pub use bxcan;
pub struct Can<'d, T: Instance + bxcan::Instance> {
phantom: PhantomData<&'d mut T>,

View File

@ -6,8 +6,9 @@
mod example_common;
use cortex_m_rt::entry;
use embassy_stm32::can::filter::Mask32;
use embassy_stm32::can::{Can, Frame, StandardId};
use embassy_stm32::can::bxcan::filter::Mask32;
use embassy_stm32::can::bxcan::{Frame, StandardId};
use embassy_stm32::can::Can;
use embassy_stm32::gpio::{Input, Pull};
use example_common::*;