mirror of https://github.com/ArduPilot/ardupilot
OptFlowPX4: fix compile error for APM
This commit is contained in:
parent
67b7b2d667
commit
d238f48dda
|
@ -19,9 +19,10 @@
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include <AP_HAL.h>
|
||||||
|
|
||||||
#if CONFIG_HAL_BOARD == HAL_BOARD_PX4
|
#if CONFIG_HAL_BOARD == HAL_BOARD_PX4
|
||||||
|
|
||||||
#include <AP_HAL.h>
|
|
||||||
#include "AP_OpticalFlow_PX4.h"
|
#include "AP_OpticalFlow_PX4.h"
|
||||||
|
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
|
@ -31,8 +32,6 @@
|
||||||
|
|
||||||
#include <drivers/drv_px4flow.h>
|
#include <drivers/drv_px4flow.h>
|
||||||
#include <uORB/topics/optical_flow.h>
|
#include <uORB/topics/optical_flow.h>
|
||||||
#include <stdio.h>
|
|
||||||
#include <errno.h>
|
|
||||||
|
|
||||||
extern const AP_HAL::HAL& hal;
|
extern const AP_HAL::HAL& hal;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue