AP_HAL: correct compilation for SimOnHardware

This commit is contained in:
Peter Barker 2023-09-01 11:07:26 +10:00 committed by Peter Barker
parent 1b6148cba8
commit e6284fe879
1 changed files with 2 additions and 2 deletions

View File

@ -232,8 +232,8 @@ void SIMState::fdm_input_local(void)
vectornav->update();
}
if (microstrain != nullptr) {
microstrain->update();
if (microstrain5 != nullptr) {
microstrain5->update();
}
#if HAL_SIM_AIS_ENABLED