Browse Source

AP_ExternalAHRS: remove message when EAHRS_TYPE is None

c415-sdk
Tatsuya Yamaguchi 4 years ago committed by Peter Barker
parent
commit
5fd46c02ad
  1. 3
      libraries/AP_ExternalAHRS/AP_ExternalAHRS.cpp

3
libraries/AP_ExternalAHRS/AP_ExternalAHRS.cpp

@ -72,6 +72,9 @@ void AP_ExternalAHRS::init(void) @@ -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;

Loading…
Cancel
Save