From 021f0840ae7f724bfdfd317dda3d57362017b835 Mon Sep 17 00:00:00 2001 From: Lorenz Meier Date: Mon, 11 Jul 2016 15:03:07 +0200 Subject: [PATCH] Fix Hobbyking Pixracers --- ROMFS/px4fmu_common/init.d/rc.sensors | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/ROMFS/px4fmu_common/init.d/rc.sensors b/ROMFS/px4fmu_common/init.d/rc.sensors index 9a4d12192e..e356f939d7 100644 --- a/ROMFS/px4fmu_common/init.d/rc.sensors +++ b/ROMFS/px4fmu_common/init.d/rc.sensors @@ -14,6 +14,17 @@ else fmu i2c 1 100000 fmu i2c 2 100000 + if ver hwcmp PX4FMU_V4 + then + # We know there are sketchy boards out there + # as chinese companies produce Pixracers without + # fully understanding the critical parts of the + # schematic and BOM, leading to sensor brownouts + # on boot. Original Pixracers following the + # open hardware design do not require this. + fmu sensor_reset 20 + fi + if ms5611 -s start then fi