Make channel number unsigned, and spell unsigned int u_int. This should

have been part of r349088.
This commit is contained in:
Ian Lepore 2019-06-16 00:32:19 +00:00
parent aee0e20139
commit 09ebe549ae
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=349092

View File

@ -34,9 +34,9 @@
#define PWM_POLARITY_INVERTED (1 << 0)
struct pwm_state {
int channel;
unsigned int period;
unsigned int duty;
u_int channel;
u_int period;
u_int duty;
uint32_t flags;
bool enable;
};