mirror of https://github.com/ArduPilot/ardupilot
SITL: SIM_Morse: correct compilation with HAL_GCS_ENABLED false
This commit is contained in:
parent
9fc068d704
commit
d24e7a916f
|
@ -566,7 +566,9 @@ void Morse::update(const struct sitl_input &input)
|
|||
|
||||
report_FPS();
|
||||
|
||||
#if HAL_GCS_ENABLED
|
||||
send_report();
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
|
@ -591,6 +593,7 @@ void Morse::report_FPS(void)
|
|||
|
||||
|
||||
|
||||
#if HAL_GCS_ENABLED
|
||||
/*
|
||||
send a report to the vehicle control code over MAVLink
|
||||
*/
|
||||
|
@ -669,5 +672,6 @@ void Morse::send_report(void)
|
|||
}
|
||||
|
||||
}
|
||||
#endif // HAL_GCS_ENABLED
|
||||
|
||||
#endif // HAL_SIM_MORSE_ENABLED
|
||||
|
|
Loading…
Reference in New Issue