From 799449dd1ae77745af598cff29cd7f63b858bef3 Mon Sep 17 00:00:00 2001 From: Andrew Straw Date: Sun, 6 Feb 2022 09:03:02 +0100 Subject: [PATCH] fix typo --- rp2040-hal/src/pwm/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rp2040-hal/src/pwm/mod.rs b/rp2040-hal/src/pwm/mod.rs index f23f8f7..4720f9d 100644 --- a/rp2040-hal/src/pwm/mod.rs +++ b/rp2040-hal/src/pwm/mod.rs @@ -67,7 +67,7 @@ //! pwm.set_div_int(1u8); // To set integer part of clock divider //! pwm.set_div_frac(0u8); // To set fractional part of clock divider //! -//! pwm.get_top(); // To set the TOP register +//! pwm.get_top(); // To get the TOP register //! pwm.set_top(u16::MAX); // To set the TOP register //! //! ```