mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-06 10:31:37 +08:00
linux_pwm_out: refactor to run on a work queue and use mixer_module
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user