AP_Compass: remove default clause from set_status switch

forces someone to consider what they need to do for any new state
This commit is contained in:
Peter Barker 2022-10-05 12:10:58 +11:00 committed by Andrew Tridgell
parent afd8d8255f
commit 4231275f50
1 changed files with 3 additions and 3 deletions

View File

@ -473,10 +473,10 @@ bool CompassCalibrator::set_status(CompassCalibrator::Status status)
_status = status;
return true;
default:
return false;
};
// compiler guarantees we don't get here
return false;
}
bool CompassCalibrator::fit_acceptable() const