Allow any system to become UAVCAN controlled by setting UAVCAN_ENABLE to 3.

This commit is contained in:
Lorenz Meier
2015-10-28 22:55:37 +01:00
parent 7136f6e880
commit 47a20f0dd2
2 changed files with 10 additions and 1 deletions
+8
View File
@@ -391,6 +391,14 @@ then
#
set TTYS1_BUSY no
#
# Check if UAVCAN is enabled, default to it for ESCs
#
if param greater UAVCAN_ENABLE 2
then
set OUTPUT_MODE uavcan_esc
fi
# If OUTPUT_MODE == none then something is wrong with setup and we shouldn't try to enable output
if [ $OUTPUT_MODE != none ]
then