|
|
|
@ -248,8 +248,8 @@ static void init_ardupilot()
@@ -248,8 +248,8 @@ static void init_ardupilot()
|
|
|
|
|
#endif // CLI_ENABLED |
|
|
|
|
|
|
|
|
|
#if HIL_MODE != HIL_MODE_DISABLED |
|
|
|
|
while (!barometer.healthy) { |
|
|
|
|
// the barometer becomes healthy when we get the first |
|
|
|
|
while (barometer.get_last_update() == 0) { |
|
|
|
|
// the barometer begins updating when we get the first |
|
|
|
|
// HIL_STATE message |
|
|
|
|
gcs_send_text_P(SEVERITY_LOW, PSTR("Waiting for first HIL_STATE message")); |
|
|
|
|
delay(1000); |
|
|
|
|