Skip to content

Commit bce2249

Browse files
no111u3mvertescher
authored andcommitted
Clean warnings for Rcc module of crate
1 parent 186c0dc commit bce2249

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/rcc.rs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -154,12 +154,12 @@ impl CFGR {
154154
0 => unreachable!(),
155155
1 => 0b0111,
156156
2 => 0b1000,
157-
3...5 => 0b1001,
158-
6...11 => 0b1010,
159-
12...39 => 0b1011,
160-
40...95 => 0b1100,
161-
96...191 => 0b1101,
162-
192...383 => 0b1110,
157+
3..=5 => 0b1001,
158+
6..=11 => 0b1010,
159+
12..=39 => 0b1011,
160+
40..=95 => 0b1100,
161+
96..=191 => 0b1101,
162+
192..=383 => 0b1110,
163163
_ => 0b1111,
164164
};
165165

0 commit comments

Comments
 (0)