AP_ExternalAHRS: remove message when EAHRS_TYPE is None

This commit is contained in:
Tatsuya Yamaguchi 2021-04-14 11:29:34 +09:00 committed by Peter Barker
parent 9990404e64
commit 5fd46c02ad
1 changed files with 3 additions and 0 deletions

View File

@ -72,6 +72,9 @@ void AP_ExternalAHRS::init(void)
}
switch (DevType(devtype)) {
case DevType::None:
// nothing to do
break;
case DevType::VecNav:
backend = new AP_ExternalAHRS_VectorNav(this, state);
break;