Fix import on SDMMC

This commit is contained in:
Thales Fragoso 2021-05-20 22:17:53 -03:00
parent 1689ab2f8b
commit f5860c3c4c

View File

@ -1502,6 +1502,7 @@ macro_rules! impl_sdmmc_pin {
#[cfg(feature = "sdmmc-rs")] #[cfg(feature = "sdmmc-rs")]
mod sdmmc_rs { mod sdmmc_rs {
use super::*; use super::*;
use core::future::Future;
use embedded_sdmmc::{Block, BlockCount, BlockDevice, BlockIdx}; use embedded_sdmmc::{Block, BlockCount, BlockDevice, BlockIdx};
impl<'d, T: Instance, P: Pins<T>> BlockDevice for Sdmmc<'d, T, P> { impl<'d, T: Instance, P: Pins<T>> BlockDevice for Sdmmc<'d, T, P> {