cleanup trng warnings -- it's going to be a while before this is fixed

I think I may have to be patient on waiting for docus on how to
tune the trng, so, turning off these warnings for now. trng tuning
will be "an event", I expect.
This commit is contained in:
bunnie 2024-04-29 04:07:52 +08:00
parent 39cf50aad6
commit 0131315e3a

View file

@ -72,8 +72,10 @@ bitflags! {
enum Mode {
Uninit,
Raw,
Lfsr,
Aes,
/// TODO
_Lfsr,
/// TODO
_Aes,
}
pub struct Trng {
@ -139,10 +141,10 @@ impl Trng {
Some(self.csr.r(utra::trng::SFR_BUF))
}
}
Mode::Lfsr => {
Mode::_Lfsr => {
todo!("LFSR mode not yet implemented");
}
Mode::Aes => {
Mode::_Aes => {
todo!("AES mode not yet implemented");
}
}