aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Hugues de Valon <hugues.devalon@arm.com> 2020-03-01 16:36:02 +0000
committerGravatar Hugues de Valon <hugues.devalon@arm.com> 2020-03-01 16:36:02 +0000
commit426ef1132f23b96103276020a4026b18fc8b0a71 (patch)
tree4ab02e469816d7ab7e9ed3147363aca5c8fa5476
parent319773eaf338cbf7d1380611ba62f5a1dbfa3094 (diff)
downloadcortex-m-426ef1132f23b96103276020a4026b18fc8b0a71.tar.gz
cortex-m-426ef1132f23b96103276020a4026b18fc8b0a71.tar.zst
cortex-m-426ef1132f23b96103276020a4026b18fc8b0a71.zip
Remove unnecessary parenthesis
Otherwise Cargo complains! Signed-off-by: Hugues de Valon <hugues.devalon@arm.com>
-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))]