linux_pwm_out: refactor to run on a work queue and use mixer_module

This commit is contained in:
Beat Küng
2021-02-25 09:28:37 -05:00
committed by Daniel Agar
parent 439fb00aed
commit f0cc8a344b
12 changed files with 359 additions and 447 deletions
+2 -3
View File
@@ -82,9 +82,8 @@ sleep 1
# RC port is mapped to /dev/ttyS4 (auto-detected)
#rc_input start -d /dev/ttyS4
# default: etc/mixers/quad_x.main.mix, 8 output channels
linux_pwm_out start -m etc/mixers/quad_x.main.mix
#linux_pwm_out start -m etc/mixers/AETRFG.main.mix
linux_pwm_out start
mixer load /dev/pwm_out etc/mixers/quad_x.main.mix
logger start -t -b 200
+2 -3
View File
@@ -77,9 +77,8 @@ sleep 1
# RC port is mapped to /dev/ttyS4 (auto-detected)
rc_input start -d /dev/ttyS4
# default: etc/mixers/quad_x.main.mix, 8 output channels
#linux_pwm_out start -m etc/mixers/quad_x.main.mix
linux_pwm_out start -m etc/mixers/AETRFG.main.mix
linux_pwm_out start
mixer load /dev/pwm_out etc/mixers/AETRFG.main.mix
logger start -t -b 200