From c94b30b7bc87478b603950b3d38e495b3b8be9d6 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Tue, 22 Dec 2015 11:35:31 +1100 Subject: [PATCH] Rover: fixed flymaple build --- APMrover2/Rover.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/APMrover2/Rover.h b/APMrover2/Rover.h index b9457329e9..a06642f1fe 100644 --- a/APMrover2/Rover.h +++ b/APMrover2/Rover.h @@ -169,7 +169,9 @@ private: // Mission library AP_Mission mission; +#if AP_AHRS_NAVEKF_AVAILABLE OpticalFlow optflow{ahrs}; +#endif // RSSI AP_RSSI rssi;