mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-21 16:18:29 -04:00
AP_OpticalFlow: fix for HAL_SITL rename
This commit is contained in:
parent
9f10e2d26c
commit
4ee54a8915
@ -44,7 +44,7 @@ const AP_Param::GroupInfo OpticalFlow::var_info[] PROGMEM = {
|
||||
OpticalFlow::OpticalFlow(void) :
|
||||
#if CONFIG_HAL_BOARD == HAL_BOARD_PX4
|
||||
backend(new AP_OpticalFlow_PX4(*this))
|
||||
#elif CONFIG_HAL_BOARD == HAL_BOARD_AVR_SITL
|
||||
#elif CONFIG_HAL_BOARD == HAL_BOARD_SITL
|
||||
backend(new AP_OpticalFlow_HIL(*this))
|
||||
#else
|
||||
backend(NULL)
|
||||
|
@ -10,7 +10,7 @@
|
||||
#include <AP_Math.h>
|
||||
#include <AP_HAL.h>
|
||||
#include <AP_HAL_AVR.h>
|
||||
#include <AP_HAL_AVR_SITL.h>
|
||||
#include <AP_HAL_SITL.h>
|
||||
#include <AP_AHRS.h>
|
||||
#include <AP_Compass.h>
|
||||
#include <AP_Declination.h>
|
||||
|
Loading…
Reference in New Issue
Block a user