Skip to content

Commit 79cfc92

Browse files
committed
Remove outdated comment
1 parent d71389b commit 79cfc92

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/adc.rs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -265,11 +265,6 @@ impl<State> Adc<State> {
265265
Chan: Channel<Adc<Ready>, ID=u8>,
266266
{
267267
self.rb.cfgr1.modify(|_, w| {
268-
// Safe, as `self.precision` is of type `Precision`, which defines
269-
// only valid values.
270-
//
271-
// The `bits` method is not unsafe on STM32L0x1, so we need to
272-
// suppress the warning there.
273268
w
274269
.res().bits(self.precision as u8)
275270
.cont().bit(cont)

0 commit comments

Comments
 (0)