Skip to content

Commit ba9e242

Browse files
committed
Remove reference to OneShot from doc comment
1 parent 825f8ac commit ba9e242

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

rp2040-hal/src/adc.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -296,8 +296,7 @@ pub enum Error {
296296
/// channel is either associated with a specific GPIO pin or attached to the internal
297297
/// temperature sensor. You should put the relevant pin into ADC mode by creating an
298298
/// [`AdcPin`] object with it, or you can put the ADC into `Temperature Sensing Mode`
299-
/// by calling [`Adc::take_temp_sensor()`]. Either way, the resulting objects can be
300-
/// passed to the [`OneShot::read()`][a] trait method to actually do the read.
299+
/// by calling [`Adc::take_temp_sensor()`].
301300
///
302301
/// [a]: embedded_hal_0_2::adc::OneShot::read
303302
pub struct Adc {

0 commit comments

Comments
 (0)