We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f07680d commit f4c404cCopy full SHA for f4c404c
src/rust/lib_ccxr/src/util/bits.rs
@@ -193,10 +193,10 @@ pub fn decode_hamming_24_18(mut value: u32) -> Option<u32> {
193
}
194
195
Some(
196
- (value & 0x000004) >> 2
197
- | (value & 0x000070) >> 3
198
- | (value & 0x007f00) >> 4
199
- | (value & 0x7f0000) >> 5,
+ ((value & 0x000004) >> 2)
+ | ((value & 0x000070) >> 3)
+ | ((value & 0x007f00) >> 4)
+ | ((value & 0x7f0000) >> 5),
200
)
201
202
0 commit comments