AP_Frsky_Telem: remove arming check for transmitting params

Otherwise, on Plane, if ARMING REQUIRED is set to 0 (automatically
armed), no parameters are transmitted.
This commit is contained in:
Florent Martel 2016-11-04 19:42:28 -05:00 committed by Tom Pittenger
parent 039d12bd55
commit 530955c15f
1 changed files with 1 additions and 1 deletions

View File

@ -97,7 +97,7 @@ void AP_Frsky_Telem::send_SPort_Passthrough(void)
} else { // send other sensor data if it's time for them, and reset the corresponding timer if sent
_passthrough.send_attiandrng = true; // next iteration, send attitude b/c it needs frequent updates to remain smooth
uint32_t now = AP_HAL::millis();
if (((now - _passthrough.params_timer) >= 1000) && (!AP_Notify::flags.armed)) {
if ((now - _passthrough.params_timer) >= 1000) {
send_uint32(DIY_FIRST_ID+7, calc_param());
_passthrough.params_timer = AP_HAL::millis();
return;