Browse Source

remove hil message in non hil mode

git-svn-id: https://arducopter.googlecode.com/svn/trunk@2240 f9c3cf11-9bcb-44bc-f272-b75c42450872
mission-4.1.18
mich146@hotmail.com 14 years ago
parent
commit
8e50fbcb42
  1. 2
      ArduCopterMega/ArduCopterMega.pde

2
ArduCopterMega/ArduCopterMega.pde

@ -530,7 +530,7 @@ void fast_loop() @@ -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…
Cancel
Save