From c0f65ff6e1117b2cf6cf6d6ab6eac9e366dcafd6 Mon Sep 17 00:00:00 2001 From: Julien BERAUD Date: Mon, 23 Nov 2015 20:14:52 +0100 Subject: [PATCH] AP_HAL_PX4: add empty optical flow No onboard optical flow on PX4 --- libraries/AP_HAL_PX4/HAL_PX4_Class.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libraries/AP_HAL_PX4/HAL_PX4_Class.cpp b/libraries/AP_HAL_PX4/HAL_PX4_Class.cpp index 57bc46c5de..b2ddab671e 100644 --- a/libraries/AP_HAL_PX4/HAL_PX4_Class.cpp +++ b/libraries/AP_HAL_PX4/HAL_PX4_Class.cpp @@ -82,7 +82,8 @@ HAL_PX4::HAL_PX4() : &rcinDriver, /* rcinput */ &rcoutDriver, /* rcoutput */ &schedulerInstance, /* scheduler */ - &utilInstance) /* util */ + &utilInstance, /* util */ + NULL) /* no onboard optical flow */ {} bool _px4_thread_should_exit = false; /**< Daemon exit flag */