Skip to content

Commit 81b04d4

Browse files
committed
include:hw: Fix PWM API variable type
Signed-off-by: Ajay Bhargav <[email protected]>
1 parent fa4a0fd commit 81b04d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/hw/pwm.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ int pwm_init(int ch);
2727
* @param cycle PWM Duty cycle
2828
* @return 0 on success, negative value on error
2929
*/
30-
int pwm_config(int ch, int freq, int cycle);
30+
int pwm_config(int ch, unsigned int freq, unsigned int cycle);
3131

3232
/**
3333
* Start PWM output

0 commit comments

Comments
 (0)