aboutsummaryrefslogtreecommitdiff
path: root/src/peripheral/syst.rs
diff options
context:
space:
mode:
authorGravatar Jonas Schievink <jonasschievink@gmail.com> 2019-04-24 15:15:41 +0200
committerGravatar Jonas Schievink <jonasschievink@gmail.com> 2019-04-24 15:15:41 +0200
commitfdf0c883a27ae078f97220773efc26d5f8e511df (patch)
tree64e0bb2767754ed1caccddf366592270970b973d /src/peripheral/syst.rs
parenta842718ab2e038c13ab7a17d32ccdc208d248112 (diff)
downloadcortex-m-fdf0c883a27ae078f97220773efc26d5f8e511df.tar.gz
cortex-m-fdf0c883a27ae078f97220773efc26d5f8e511df.tar.zst
cortex-m-fdf0c883a27ae078f97220773efc26d5f8e511df.zip
Derive Debug, PartialEq and Eq for more types
Diffstat (limited to 'src/peripheral/syst.rs')
-rw-r--r--src/peripheral/syst.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/peripheral/syst.rs b/src/peripheral/syst.rs
index ecefaea..c1e9710 100644
--- a/src/peripheral/syst.rs
+++ b/src/peripheral/syst.rs
@@ -18,7 +18,7 @@ pub struct RegisterBlock {
}
/// SysTick clock source
-#[derive(Clone, Copy, Debug)]
+#[derive(Clone, Copy, Debug, PartialEq, Eq)]
pub enum SystClkSource {
/// Core-provided clock
Core,