mirror of https://github.com/ArduPilot/ardupilot
fixed HIL build
This commit is contained in:
parent
53d7cac075
commit
73cc32fb0d
|
@ -732,7 +732,9 @@ static void medium_loop()
|
|||
|
||||
// Do an extra baro read
|
||||
// ---------------------
|
||||
#if HIL_MODE != HIL_MODE_ATTITUDE
|
||||
barometer.Read();
|
||||
#endif
|
||||
|
||||
slow_loop();
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue