aboutsummaryrefslogtreecommitdiff
path: root/src/peripheral/syst.rs
diff options
context:
space:
mode:
authorGravatar bors[bot] <bors[bot]@users.noreply.github.com> 2019-04-24 14:44:16 +0000
committerGravatar bors[bot] <bors[bot]@users.noreply.github.com> 2019-04-24 14:44:16 +0000
commit10d6e250af596d24229c6e7e8221a766975e8b37 (patch)
tree64e0bb2767754ed1caccddf366592270970b973d /src/peripheral/syst.rs
parenta842718ab2e038c13ab7a17d32ccdc208d248112 (diff)
parentfdf0c883a27ae078f97220773efc26d5f8e511df (diff)
downloadcortex-m-10d6e250af596d24229c6e7e8221a766975e8b37.tar.gz
cortex-m-10d6e250af596d24229c6e7e8221a766975e8b37.tar.zst
cortex-m-10d6e250af596d24229c6e7e8221a766975e8b37.zip
Merge #141
141: Derive Debug, PartialEq and Eq for more types r=therealprof a=jonas-schievink Closes #28 Co-authored-by: Jonas Schievink <jonasschievink@gmail.com>
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,