rustfmt
This commit is contained in:
parent
43d018b67f
commit
2b6654541d
1 changed files with 2 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue