rustfmt
This commit is contained in:
parent
43d018b67f
commit
2b6654541d
@ -32,8 +32,9 @@ impl<'d, T: Instance> Rng<'d, T> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
pub fn reset(&mut self) {
|
pub fn reset(&mut self) {
|
||||||
|
// rng_v2 locks up on seed error, needs reset
|
||||||
#[cfg(rng_v2)]
|
#[cfg(rng_v2)]
|
||||||
if unsafe { T::regs().sr().read().seis()} {
|
if unsafe { T::regs().sr().read().seis() } {
|
||||||
T::reset();
|
T::reset();
|
||||||
}
|
}
|
||||||
unsafe {
|
unsafe {
|
||||||
|
Loading…
Reference in New Issue
Block a user