From d015099c837c25463bf0b0cf4576bf198b147119 Mon Sep 17 00:00:00 2001 From: bunnie Date: Thu, 13 Jun 2024 16:29:30 +0800 Subject: [PATCH] more deps cleanup --- services/usb-device-xous/src/main_hw.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/services/usb-device-xous/src/main_hw.rs b/services/usb-device-xous/src/main_hw.rs index 8299500d0..062508345 100644 --- a/services/usb-device-xous/src/main_hw.rs +++ b/services/usb-device-xous/src/main_hw.rs @@ -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,