mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-30 16:10:12 +08:00
ROMFS: allow the output config to be skipped
This is required for the ATL Mantis-EDU.
This commit is contained in:
@@ -45,7 +45,7 @@ fi
|
|||||||
#
|
#
|
||||||
# Set the default output mode if none was set.
|
# Set the default output mode if none was set.
|
||||||
#
|
#
|
||||||
if [ $OUTPUT_MODE = none ]
|
if [ $OUTPUT_MODE = none -a $OUTPUT_MODE != skip ]
|
||||||
then
|
then
|
||||||
if [ $USE_IO = yes ]
|
if [ $USE_IO = yes ]
|
||||||
then
|
then
|
||||||
@@ -72,7 +72,7 @@ fi
|
|||||||
#
|
#
|
||||||
# If OUTPUT_MODE = none then something is wrong with setup and we shouldn't try to enable output.
|
# If OUTPUT_MODE = none then something is wrong with setup and we shouldn't try to enable output.
|
||||||
#
|
#
|
||||||
if [ $OUTPUT_MODE != none ]
|
if [ $OUTPUT_MODE != none -a $OUTPUT_MODE != skip ]
|
||||||
then
|
then
|
||||||
|
|
||||||
if [ $OUTPUT_MODE = hil -o $OUTPUT_MODE = sim ]
|
if [ $OUTPUT_MODE = hil -o $OUTPUT_MODE = sim ]
|
||||||
|
|||||||
Reference in New Issue
Block a user