From 50db4d362dcfebf78f4712d37366f957d44bc1a5 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sat, 26 Nov 2016 16:22:32 +1100 Subject: [PATCH] AC_PrecLand: use new in-tree IRLock driver --- libraries/AC_PrecLand/AC_PrecLand_IRLock.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AC_PrecLand/AC_PrecLand_IRLock.h b/libraries/AC_PrecLand/AC_PrecLand_IRLock.h index e1fec64f4e..8c43dac849 100644 --- a/libraries/AC_PrecLand/AC_PrecLand_IRLock.h +++ b/libraries/AC_PrecLand/AC_PrecLand_IRLock.h @@ -41,7 +41,7 @@ public: bool have_los_meas(); private: - AP_IRLock_PX4 irlock; + AP_IRLock_I2C irlock; Vector3f _los_meas_body; // unit vector in body frame pointing towards target bool _have_los_meas; // true if there is a valid measurement from the camera