We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e02a1a commit 4cc1090Copy full SHA for 4cc1090
src/rng.rs
@@ -262,6 +262,11 @@ impl<MODE> Rng<MODE> {
262
}
263
panic!("Failed to automatically recover from Rng Clock Error");
264
} else if status.secs().bit() {
265
+ #[cfg(feature = "log")]
266
+ log::warn!("RNG Seed error detected, retrying");
267
+
268
+ #[cfg(feature = "defmt")]
269
+ defmt::warn!("RNG Seed error detected, retrying");
270
// Reset seed error flag so as to leave the peripheral in a valid state ready for use
271
self.rb.sr().modify(|_, w| w.seis().clear_bit());
272
return Err(SeedError);
0 commit comments