pwm_out_sim cleanup

- move to ModuleBase
 - strip down to PWM 8 and 16 modes only
 - remove all dead code
 - implement missing pwm ioctls (current value, rates, etc)
 - default rate 50Hz -> 400Hz
This commit is contained in:
Daniel Agar
2018-03-04 14:12:15 -05:00
parent 3d6854099e
commit 38f5f60a1e
40 changed files with 841 additions and 1140 deletions
+1 -1
View File
@@ -504,7 +504,7 @@ then
if [ $OUTPUT_MODE == hil ]
then
if pwm_out_sim mode_pwm16
if pwm_out_sim start
then
else
tune_control play -m ${TUNE_ERR}