AP_Compass: remove default clause from calibrator status switch
bad_radius should almost certainly be treated just like bad orientation
This commit is contained in:
parent
bd9b34b828
commit
fa80cda260
@ -333,8 +333,11 @@ bool Compass::is_calibrating() const
|
|||||||
case CompassCalibrator::Status::SUCCESS:
|
case CompassCalibrator::Status::SUCCESS:
|
||||||
case CompassCalibrator::Status::FAILED:
|
case CompassCalibrator::Status::FAILED:
|
||||||
case CompassCalibrator::Status::BAD_ORIENTATION:
|
case CompassCalibrator::Status::BAD_ORIENTATION:
|
||||||
|
case CompassCalibrator::Status::BAD_RADIUS:
|
||||||
break;
|
break;
|
||||||
default:
|
case CompassCalibrator::Status::WAITING_TO_START:
|
||||||
|
case CompassCalibrator::Status::RUNNING_STEP_ONE:
|
||||||
|
case CompassCalibrator::Status::RUNNING_STEP_TWO:
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user