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