mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-11 07:40:10 +00:00
cleanup warnings in trng server
This commit is contained in:
parent
7210f100f4
commit
fe2a464dd2
2 changed files with 2 additions and 5 deletions
|
|
@ -1,5 +1,3 @@
|
|||
use xous::{Message, ScalarMessage};
|
||||
|
||||
pub(crate) const SERVER_NAME_TRNG: &str = "_TRNG manager_";
|
||||
|
||||
#[allow(dead_code)]
|
||||
|
|
|
|||
|
|
@ -2,18 +2,17 @@
|
|||
#![cfg_attr(target_os = "none", no_main)]
|
||||
|
||||
mod api;
|
||||
use api::*;
|
||||
|
||||
use num_traits::FromPrimitive;
|
||||
|
||||
use log::{error, info};
|
||||
use log::info;
|
||||
|
||||
|
||||
#[cfg(target_os = "none")]
|
||||
mod implementation {
|
||||
use utralib::generated::*;
|
||||
// use crate::api::*;
|
||||
use log::{/*error,*/ info};
|
||||
use log::info;
|
||||
|
||||
pub struct Trng {
|
||||
csr: utralib::CSR<u32>,
|
||||
|
|
|
|||
Loading…
Reference in a new issue