AP_NavEKF3: use SourceSetSelection enum class

This commit is contained in:
Tatsuya Yamaguchi 2023-06-19 23:18:12 +09:00 committed by Peter Barker
parent 23ce7cc416
commit 83c544f792
1 changed files with 1 additions and 1 deletions

View File

@ -1112,7 +1112,7 @@ void NavEKF3::setPosVelYawSourceSet(uint8_t source_set_idx)
if (source_set_idx < AP_NAKEKF_SOURCE_SET_MAX) {
dal.log_event3(AP_DAL::Event(uint8_t(AP_DAL::Event::setSourceSet0)+source_set_idx));
}
sources.setPosVelYawSourceSet(source_set_idx);
sources.setPosVelYawSourceSet((AP_NavEKF_Source::SourceSetSelection)source_set_idx);
}
// Check basic filter health metrics and return a consolidated health status