mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-14 08:03:34 +00:00
commit
c8986c40cc
2 changed files with 2 additions and 1 deletions
|
|
@ -141,7 +141,7 @@ pub fn early_init() {
|
|||
#[cfg(feature = "board-bringup")]
|
||||
{
|
||||
// do a quick TRNG test.
|
||||
let mut trng = sce::trng::Trng::new(HW_TRNG_BASE);
|
||||
let mut trng = cramium_hal::sce::trng::Trng::new(HW_TRNG_BASE);
|
||||
trng.setup_raw_generation(256);
|
||||
for _ in 0..8 {
|
||||
crate::println!("trng raw: {:x}", trng.get_u32().unwrap_or(0xDEAD_BEEF));
|
||||
|
|
|
|||
|
|
@ -142,6 +142,7 @@ impl XousDisplay {
|
|||
// one extra line for handling the addressing setup
|
||||
(FB_LINES + 1) * FB_WIDTH_WORDS * size_of::<u32>(),
|
||||
0,
|
||||
None,
|
||||
)
|
||||
.expect("Couldn't allocate SPI channel for LCD")
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue