Merge pull request #377 from bobmcwhirter/rng_defmt

Fixes #374: Ensure Rng's error is defmt-able.
This commit is contained in:
Dario Nieuwenhuis 2021-08-26 20:16:50 +02:00 committed by GitHub
commit 37e0ad299c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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