mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-11 02:18:29 -04:00
remove hil message in non hil mode
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2240 f9c3cf11-9bcb-44bc-f272-b75c42450872
This commit is contained in:
parent
65e08e7858
commit
5fbced7187
@ -530,7 +530,7 @@ void fast_loop()
|
||||
// ------------------------------
|
||||
throttle_integrator += g.rc_3.servo_out;
|
||||
|
||||
#if HIL_PROTOCOL == HIL_PROTOCOL_MAVLINK
|
||||
#if HIL_PROTOCOL == HIL_PROTOCOL_MAVLINK && HIL_MODE != HIL_MODE_DISABLED
|
||||
// HIL for a copter needs very fast update of the servo values
|
||||
gcs.send_message(MSG_RADIO_OUT);
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user