mirror of
https://github.com/esp-rs/esp-idf-hal.git
synced 2025-09-27 12:21:02 +00:00
Fix the build; enable the experimental features in CI
This commit is contained in:
parent
c83cbe6b66
commit
ba95e728f5
@ -294,9 +294,9 @@ impl<'d> SdCardDriver<SdMmcHostDriver<'d>> {
|
||||
pwr_ctrl_handle: core::ptr::null_mut() as _,
|
||||
};
|
||||
|
||||
let mut card: sdmmc_card_t = Default::default();
|
||||
let mut card: alloc::boxed::Box<sdmmc_card_t> = Default::default();
|
||||
|
||||
esp!(unsafe { sdmmc_card_init(&configuration, &mut card) })?;
|
||||
esp!(unsafe { sdmmc_card_init(&configuration, &mut *card) })?;
|
||||
|
||||
Ok(Self { _host: host, card })
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user