From 780e903d5b8ff49df750caa2f19e824e49e8aac0 Mon Sep 17 00:00:00 2001 From: Lucas De Marchi Date: Mon, 21 Nov 2016 16:45:27 -0200 Subject: [PATCH] aerofc: load autostart on first boot --- ROMFS/px4fmu_common/init.d/rcS | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ROMFS/px4fmu_common/init.d/rcS b/ROMFS/px4fmu_common/init.d/rcS index 95d2d71da6..38dfa6a037 100644 --- a/ROMFS/px4fmu_common/init.d/rcS +++ b/ROMFS/px4fmu_common/init.d/rcS @@ -187,6 +187,10 @@ then if ver hwcmp AEROFC_V1 then + if param compare SYS_AUTOSTART 0 + then + set AUTOCNF yes + fi param set SYS_AUTOSTART 4070 fi