Move new async to asynch module to guard for models without flash interrupt
This commit is contained in:
@ -1,10 +1,12 @@
|
||||
use embedded_storage::nor_flash::{NorFlashError, NorFlashErrorKind};
|
||||
|
||||
#[cfg(all(feature = "nightly", flash_f4))]
|
||||
pub mod asynch;
|
||||
mod asynch;
|
||||
#[cfg(flash)]
|
||||
mod common;
|
||||
|
||||
#[cfg(all(feature = "nightly", flash_f4))]
|
||||
pub use asynch::InterruptHandler;
|
||||
#[cfg(flash)]
|
||||
pub use common::*;
|
||||
|
||||
|
Reference in New Issue
Block a user