mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-16 08:38:26 +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_";
|
pub(crate) const SERVER_NAME_TRNG: &str = "_TRNG manager_";
|
||||||
|
|
||||||
#[allow(dead_code)]
|
#[allow(dead_code)]
|
||||||
|
|
|
||||||
|
|
@ -2,18 +2,17 @@
|
||||||
#![cfg_attr(target_os = "none", no_main)]
|
#![cfg_attr(target_os = "none", no_main)]
|
||||||
|
|
||||||
mod api;
|
mod api;
|
||||||
use api::*;
|
|
||||||
|
|
||||||
use num_traits::FromPrimitive;
|
use num_traits::FromPrimitive;
|
||||||
|
|
||||||
use log::{error, info};
|
use log::info;
|
||||||
|
|
||||||
|
|
||||||
#[cfg(target_os = "none")]
|
#[cfg(target_os = "none")]
|
||||||
mod implementation {
|
mod implementation {
|
||||||
use utralib::generated::*;
|
use utralib::generated::*;
|
||||||
// use crate::api::*;
|
// use crate::api::*;
|
||||||
use log::{/*error,*/ info};
|
use log::info;
|
||||||
|
|
||||||
pub struct Trng {
|
pub struct Trng {
|
||||||
csr: utralib::CSR<u32>,
|
csr: utralib::CSR<u32>,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue