diff --git a/src/pwm.rs b/src/pwm.rs index ee984b15..19d169a8 100644 --- a/src/pwm.rs +++ b/src/pwm.rs @@ -173,7 +173,7 @@ impl PWMDevice { /// Sets the duty-cycle for the given channel /// - /// value: `0: 0%, u16::MAX: 100%` duty_cycle + /// value: `0: 0%, resolution: 100%` duty_cycle fn set(&mut self, channel: PWMChannel, value: u16) { unsafe { riot_sys::pwm_set(self.dev, channel.channel, value);