Make channel number unsigned, and spell unsigned int u_int. This should
have been part of r349088.
This commit is contained in:
parent
aee0e20139
commit
09ebe549ae
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=349092
@ -34,9 +34,9 @@
|
|||||||
#define PWM_POLARITY_INVERTED (1 << 0)
|
#define PWM_POLARITY_INVERTED (1 << 0)
|
||||||
|
|
||||||
struct pwm_state {
|
struct pwm_state {
|
||||||
int channel;
|
u_int channel;
|
||||||
unsigned int period;
|
u_int period;
|
||||||
unsigned int duty;
|
u_int duty;
|
||||||
uint32_t flags;
|
uint32_t flags;
|
||||||
bool enable;
|
bool enable;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user