]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Rearrange the argument checking and processing so that enable and disable
authorian <ian@FreeBSD.org>
Tue, 18 Jun 2019 01:15:00 +0000 (01:15 +0000)
committerian <ian@FreeBSD.org>
Tue, 18 Jun 2019 01:15:00 +0000 (01:15 +0000)
commit088a908a2d77560eca5d0cf61eb96fea541c7136
tree01aa283d3ceddab68f565dfc13df12e3297a30ea
parentc1c24356f42413ee4b688d6d5ee82d1934d125b5
Rearrange the argument checking and processing so that enable and disable
can be combined with configuring the period and duty cycle (the same ioctl
sets all 3 values at once, so there's no reason to require the user to run
the program twice to get all 3 things set).
usr.sbin/pwm/pwm.8
usr.sbin/pwm/pwm.c