more deps cleanup

This commit is contained in:
bunnie 2024-06-13 16:29:30 +08:00
parent ce1d36782f
commit d015099c83

View file

@ -7,7 +7,7 @@ use std::sync::Arc;
#[cfg(all(not(feature = "minimal"), any(feature = "cramium-soc")))]
use cram_hal_service::api::KeyMap;
#[cfg(feature = "cramium-soc")]
use cram_hal_service::{keyboard, trng, trng::api::TrngTestMode};
use cram_hal_service::{keyboard, trng};
#[cfg(feature = "cramium-soc")]
use cramium_hal::usb::driver::{CorigineUsb, CorigineWrapper};
#[cfg(all(not(feature = "minimal"), any(feature = "renode", feature = "precursor")))]
@ -465,7 +465,7 @@ pub(crate) fn main_hw() -> ! {
conn,
xous::Message::new_scalar(
Opcode::SerialHookTrngSender.to_usize().unwrap(),
TrngTestMode::Raw.to_usize().unwrap(),
trng::api::TrngTestMode::Raw.to_usize().unwrap(),
0,
0,
0,