Fixes #374: Ensure Rng's error is defmt-able.

This commit is contained in:
Bob McWhirter 2021-08-26 14:03:54 -04:00
parent 8263627fe1
commit dc394dd477

View file

@ -13,6 +13,7 @@ use crate::peripherals;
pub(crate) static RNG_WAKER: AtomicWaker = AtomicWaker::new(); pub(crate) static RNG_WAKER: AtomicWaker = AtomicWaker::new();
#[cfg_attr(feature = "defmt", derive(defmt::Format))]
pub enum Error { pub enum Error {
SeedError, SeedError,
ClockError, ClockError,