From 7fc791145f37df214086b769f1b76475d998f1f1 Mon Sep 17 00:00:00 2001 From: Rahix Date: Thu, 11 Jan 2024 18:43:15 +0100 Subject: [PATCH] attiny-hal: Fix a typo --- mcu/attiny-hal/src/adc.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mcu/attiny-hal/src/adc.rs b/mcu/attiny-hal/src/adc.rs index 3bb592ec17..b877f4f8de 100644 --- a/mcu/attiny-hal/src/adc.rs +++ b/mcu/attiny-hal/src/adc.rs @@ -55,8 +55,8 @@ pub type Channel = avr_hal_generic::adc::Channel /// /// # 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); /// ```