diff --git a/ArduSub/sensors.cpp b/ArduSub/sensors.cpp index d4c31e7341..eaf8e89d4c 100644 --- a/ArduSub/sensors.cpp +++ b/ArduSub/sensors.cpp @@ -128,11 +128,6 @@ void Sub::compass_accumulate(void) #if OPTFLOW == ENABLED void Sub::init_optflow() { - // exit immediately if not enabled - if (!optflow.enabled()) { - return; - } - // initialise optical flow sensor optflow.init(); }