We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fa4a0fd commit 81b04d4Copy full SHA for 81b04d4
include/hw/pwm.h
@@ -27,7 +27,7 @@ int pwm_init(int ch);
27
* @param cycle PWM Duty cycle
28
* @return 0 on success, negative value on error
29
*/
30
-int pwm_config(int ch, int freq, int cycle);
+int pwm_config(int ch, unsigned int freq, unsigned int cycle);
31
32
/**
33
* Start PWM output
0 commit comments