OptFlowPX4: fix compile error for APM

This commit is contained in:
Randy Mackay 2014-10-15 15:51:05 +09:00
parent 67b7b2d667
commit d238f48dda
1 changed files with 2 additions and 3 deletions

View File

@ -19,9 +19,10 @@
*
*/
#include <AP_HAL.h>
#if CONFIG_HAL_BOARD == HAL_BOARD_PX4
#include <AP_HAL.h>
#include "AP_OpticalFlow_PX4.h"
#include <sys/types.h>
@ -31,8 +32,6 @@
#include <drivers/drv_px4flow.h>
#include <uORB/topics/optical_flow.h>
#include <stdio.h>
#include <errno.h>
extern const AP_HAL::HAL& hal;