aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar bors[bot] <26634292+bors[bot]@users.noreply.github.com> 2020-03-01 17:18:49 +0000
committerGravatar GitHub <noreply@github.com> 2020-03-01 17:18:49 +0000
commit947714ee4dac6629e4e286ea49b7822b0702575b (patch)
tree4ab02e469816d7ab7e9ed3147363aca5c8fa5476 /src
parent319773eaf338cbf7d1380611ba62f5a1dbfa3094 (diff)
parent426ef1132f23b96103276020a4026b18fc8b0a71 (diff)
downloadcortex-m-947714ee4dac6629e4e286ea49b7822b0702575b.tar.gz
cortex-m-947714ee4dac6629e4e286ea49b7822b0702575b.tar.zst
cortex-m-947714ee4dac6629e4e286ea49b7822b0702575b.zip
Merge #198
198: Remove unnecessary parenthesis r=jonas-schievink a=hug-dev Otherwise Cargo complains! This should fix the CI for #193 and #189 Co-authored-by: Hugues de Valon <hugues.devalon@arm.com>
Diffstat (limited to 'src')
-rw-r--r--src/peripheral/scb.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/peripheral/scb.rs b/src/peripheral/scb.rs
index b53af15..dc82dc7 100644
--- a/src/peripheral/scb.rs
+++ b/src/peripheral/scb.rs
@@ -305,8 +305,8 @@ impl VectActive {
#[cfg(not(armv6m))]
mod scb_consts {
- pub const SCB_CCR_IC_MASK: u32 = (1 << 17);
- pub const SCB_CCR_DC_MASK: u32 = (1 << 16);
+ pub const SCB_CCR_IC_MASK: u32 = 1 << 17;
+ pub const SCB_CCR_DC_MASK: u32 = 1 << 16;
}
#[cfg(not(armv6m))]