rustfmt
This commit is contained in:
parent
43d018b67f
commit
2b6654541d
@ -32,6 +32,7 @@ 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();
|
||||||
|
Loading…
Reference in New Issue
Block a user