refactor pwm_out_sim: use mixer_module and run on work queue

Tested with SITL + HITL
This commit is contained in:
Beat Küng
2019-10-21 09:42:08 +02:00
parent 2837152983
commit 349469cf75
10 changed files with 137 additions and 572 deletions
+1 -1
View File
@@ -84,7 +84,7 @@ then
if [ $OUTPUT_MODE = hil -o $OUTPUT_MODE = sim ]
then
if ! pwm_out_sim start
if ! pwm_out_sim start -m $OUTPUT_MODE
then
# Error tune.
tune_control play -t 2