mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-23 14:47:44 +08:00
Mantis: fix mixer loading
The ordering before did not work out, and without the sleep it fails.
This commit is contained in:
@@ -170,9 +170,6 @@ param set-default SENS_FLOW_MINHGT 0.15
|
||||
param set-default SENS_FLOW_MAXHGT 5.0
|
||||
param set-default SENS_FLOW_ROT 4
|
||||
|
||||
|
||||
mixer load /dev/tap_esc /etc/mixers/quad_x.main.mix
|
||||
|
||||
# ignore the SD card errors and use normal startup sound, and make it less loud
|
||||
set STARTUP_TUNE "1"
|
||||
set STARTUP_TUNE_VOLUME "-s 20"
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
#!/bin/sh
|
||||
|
||||
tap_esc start -d /dev/ttyS4 -n 4
|
||||
sleep 1
|
||||
mixer load /dev/tap_esc /etc/mixers/quad_x.main.mix
|
||||
|
||||
# Transition from previous non open-source flight stack
|
||||
if param compare SYS_AUTOSTART 4001
|
||||
|
||||
Reference in New Issue
Block a user