ArduCopter: iinclude AP_OpticalFlow header as required

This commit is contained in:
Peter Barker 2022-12-15 10:31:11 +11:00 committed by Peter Barker
parent 70a5d8be76
commit 7e962bb1be

View File

@ -69,6 +69,7 @@
#include <AC_Sprayer/AC_Sprayer.h> // Crop sprayer library
#include <AP_ADSB/AP_ADSB.h> // ADS-B RF based collision avoidance module library
#include <AP_Proximity/AP_Proximity.h> // ArduPilot proximity sensor library
#include <AP_OpticalFlow/AP_OpticalFlow.h>
// Configuration
#include "defines.h"
@ -123,7 +124,6 @@
#if AP_TERRAIN_AVAILABLE
# include <AP_Terrain/AP_Terrain.h>
#endif
# include <AP_OpticalFlow/AP_OpticalFlow.h>
#if RANGEFINDER_ENABLED == ENABLED
# include <AP_RangeFinder/AP_RangeFinder.h>
#endif