diff --git a/ArduCopter/mode_auto.cpp b/ArduCopter/mode_auto.cpp index b6db45f097..597eb5016e 100644 --- a/ArduCopter/mode_auto.cpp +++ b/ArduCopter/mode_auto.cpp @@ -1558,7 +1558,7 @@ bool ModeAuto::verify_land() default: // this should never happen - // TO-DO: log an error + INTERNAL_ERROR(AP_InternalError::error_t::flow_of_control); retval = true; break; } @@ -1720,7 +1720,7 @@ bool ModeAuto::verify_payload_place() return true; default: // this should never happen - // TO-DO: log an error + INTERNAL_ERROR(AP_InternalError::error_t::flow_of_control); return true; } // should never get here