mirror of
https://github.com/italicsjenga/rp-hal-boards.git
synced 2025-01-11 04:51:31 +11:00
Derive several traits for ClockError
This commit is contained in:
parent
402b7f1eb8
commit
fecde70cf9
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue