mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-24 01:28:29 -04:00
fixed HIL build
This commit is contained in:
parent
29fa78214b
commit
26d5d3c385
@ -178,10 +178,12 @@ static void init_ardupilot()
|
|||||||
|
|
||||||
mavlink_system.sysid = g.sysid_this_mav;
|
mavlink_system.sysid = g.sysid_this_mav;
|
||||||
|
|
||||||
|
#if LOGGING_ENABLED == ENABLED
|
||||||
if (need_log_erase) {
|
if (need_log_erase) {
|
||||||
gcs_send_text_P(SEVERITY_LOW, PSTR("ERASING LOGS"));
|
gcs_send_text_P(SEVERITY_LOW, PSTR("ERASING LOGS"));
|
||||||
do_erase_logs(mavlink_delay);
|
do_erase_logs(mavlink_delay);
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
#if HIL_MODE != HIL_MODE_ATTITUDE
|
#if HIL_MODE != HIL_MODE_ATTITUDE
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user