mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-16 08:38:26 +00:00
cleanup mut warning
This commit is contained in:
parent
e3e3b3125c
commit
4926e61fec
1 changed files with 1 additions and 1 deletions
|
|
@ -210,7 +210,7 @@ pub fn early_init() {
|
|||
for _ in 0..12 {
|
||||
crate::println!("trng raw: {:x}", trng.get_u32().unwrap_or(0xDEAD_BEEF));
|
||||
}
|
||||
let mut trng_csr = CSR::new(HW_TRNG_BASE as *mut u32);
|
||||
let trng_csr = CSR::new(HW_TRNG_BASE as *mut u32);
|
||||
crate::println!("trng status: {:x}", trng_csr.r(utra::trng::SFR_SR));
|
||||
|
||||
// do a PL230/PIO test. Toggles PB15 (PIO0) with an LFSR sequence.
|
||||
|
|
|
|||
Loading…
Reference in a new issue