diff --git a/rp2040-hal/src/clocks/mod.rs b/rp2040-hal/src/clocks/mod.rs index e8cb8f8..db1a7d4 100644 --- a/rp2040-hal/src/clocks/mod.rs +++ b/rp2040-hal/src/clocks/mod.rs @@ -99,6 +99,8 @@ impl ShareableClocks { } /// Something when wrong setting up the clock +#[non_exhaustive] +#[derive(Copy, Clone, Debug, PartialEq, Eq, Hash)] pub enum ClockError { /// The frequency desired is higher than the source frequency CantIncreaseFreq,