svn commit: r349092 - head/sys/dev/pwm
Ian Lepore
ian at FreeBSD.org
Sun Jun 16 00:32:21 UTC 2019
Author: ian
Date: Sun Jun 16 00:32:19 2019
New Revision: 349092
URL: https://svnweb.freebsd.org/changeset/base/349092
Log:
Make channel number unsigned, and spell unsigned int u_int. This should
have been part of r349088.
Modified:
head/sys/dev/pwm/pwmc.h
Modified: head/sys/dev/pwm/pwmc.h
==============================================================================
--- head/sys/dev/pwm/pwmc.h Sun Jun 16 00:27:11 2019 (r349091)
+++ head/sys/dev/pwm/pwmc.h Sun Jun 16 00:32:19 2019 (r349092)
@@ -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;
};
More information about the svn-src-all
mailing list