From b7c53342dc7a76d6f1c4ad1b4ad4f093944b910b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Roberto=20de=20Souza?= Date: Tue, 14 Feb 2017 10:42:30 -0800 Subject: [PATCH] ROMFS: AeroFC: Start dataman with RAM backend AeroFC don't have a SD Card or any other storage device, so changing dataman backend to work over RAM to be able to load missions. --- ROMFS/px4fmu_common/init.d/rcS | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/ROMFS/px4fmu_common/init.d/rcS b/ROMFS/px4fmu_common/init.d/rcS index 7d00bbf984..8a40f7ae90 100644 --- a/ROMFS/px4fmu_common/init.d/rcS +++ b/ROMFS/px4fmu_common/init.d/rcS @@ -405,11 +405,17 @@ then gps start fi + set DATAMAN_OPT "" + if ver hwcmp AEROFC_V1 + then + set DATAMAN_OPT -r + fi # waypoint storage # REBOOTWORK this needs to start in parallel - if dataman start + if dataman start $DATAMAN_OPT then fi + unset DATAMAN_OPT # # Sensors System (start before Commander so Preflight checks are properly run)