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:
mich146@hotmail.com 2011-05-10 10:26:32 +00:00
parent 65e08e7858
commit 5fbced7187

View File

@ -530,7 +530,7 @@ void fast_loop()
// ------------------------------ // ------------------------------
throttle_integrator += g.rc_3.servo_out; 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 // HIL for a copter needs very fast update of the servo values
gcs.send_message(MSG_RADIO_OUT); gcs.send_message(MSG_RADIO_OUT);
#endif #endif