Skip to content

Commit 426ef11

Browse files
committed
Remove unnecessary parenthesis
Otherwise Cargo complains! Signed-off-by: Hugues de Valon <[email protected]>
1 parent 319773e commit 426ef11

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/peripheral/scb.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -305,8 +305,8 @@ impl VectActive {
305305

306306
#[cfg(not(armv6m))]
307307
mod scb_consts {
308-
pub const SCB_CCR_IC_MASK: u32 = (1 << 17);
309-
pub const SCB_CCR_DC_MASK: u32 = (1 << 16);
308+
pub const SCB_CCR_IC_MASK: u32 = 1 << 17;
309+
pub const SCB_CCR_DC_MASK: u32 = 1 << 16;
310310
}
311311

312312
#[cfg(not(armv6m))]

0 commit comments

Comments
 (0)