From b1c11b14a86a1200aeb1f058b0eb9eaa7bc87bfb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Roberto=20de=20Souza?= Date: Wed, 22 Feb 2017 16:13:51 -0800 Subject: [PATCH] ROMFS: common: AeroFC: Do not start MAVLink over USB STM32 pins are not exposed in AeroFC, so lets save some memory here. --- ROMFS/px4fmu_common/init.d/rcS | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/ROMFS/px4fmu_common/init.d/rcS b/ROMFS/px4fmu_common/init.d/rcS index ff484c86ee..9b7ce9a6fd 100644 --- a/ROMFS/px4fmu_common/init.d/rcS +++ b/ROMFS/px4fmu_common/init.d/rcS @@ -781,8 +781,12 @@ then px4flow start & fi - # Start MAVLink - mavlink start -r 800000 -d /dev/ttyACM0 -m config -x + if ver hwcmp AEROFC_V1 + then + else + # Start MAVLink + mavlink start -r 800000 -d /dev/ttyACM0 -m config -x + fi # # Logging