Skip to content

Commit

Permalink
attiny-hal: Fix a typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Rahix committed Jan 11, 2024
1 parent f87e318 commit 7fc7911
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mcu/attiny-hal/src/adc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ pub type Channel = avr_hal_generic::adc::Channel<crate::Attiny, crate::pac::ADC>
///
/// # Example
/// ```
/// let dp = atmega_hal::Peripherals::take().unwrap();
/// let mut adc = atmega_hal::Adc::new(dp.ADC, Default::default());
/// let dp = attiny_hal::Peripherals::take().unwrap();
/// let mut adc = attiny_hal::Adc::new(dp.ADC, Default::default());
///
/// let value = adc.read_blocking(&channel::Vbg);
/// ```
Expand Down

0 comments on commit 7fc7911

Please sign in to comment.