From dcd32180bdcd6327916d1b923326cba9fb83b8a4 Mon Sep 17 00:00:00 2001 From: Joel Aschmann Date: Mon, 20 Mar 2023 10:43:01 +0100 Subject: [PATCH] PWM: fix comments regarding resolution --- src/pwm.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);