Commit a63461e9 authored by Jesper Nilsson's avatar Jesper Nilsson

CRIS: Make io_pwm_set_period members unsigned in etraxgpio.h

parent 79e04fdb
...@@ -156,8 +156,8 @@ struct io_pwm_set_mode { ...@@ -156,8 +156,8 @@ struct io_pwm_set_mode {
#define IO_PWM_SET_PERIOD 0x21 #define IO_PWM_SET_PERIOD 0x21
struct io_pwm_set_period { struct io_pwm_set_period {
int lo; /* 0..8191 */ unsigned int lo; /* 0..8191 */
int hi; /* 0..8191 */ unsigned int hi; /* 0..8191 */
}; };
/* Only for modes PWM_STANDARD and PWM_FAST. /* Only for modes PWM_STANDARD and PWM_FAST.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment