fixed HIL build

This commit is contained in:
Andrew Tridgell 2011-12-21 23:29:22 +11:00
parent 29fa78214b
commit 26d5d3c385
1 changed files with 2 additions and 0 deletions

View File

@ -178,10 +178,12 @@ static void init_ardupilot()
mavlink_system.sysid = g.sysid_this_mav;
#if LOGGING_ENABLED == ENABLED
if (need_log_erase) {
gcs_send_text_P(SEVERITY_LOW, PSTR("ERASING LOGS"));
do_erase_logs(mavlink_delay);
}
#endif
#if HIL_MODE != HIL_MODE_ATTITUDE