From 530955c15f1a2afa43465124624d70cfaa7af75d Mon Sep 17 00:00:00 2001 From: Florent Martel Date: Fri, 4 Nov 2016 19:42:28 -0500 Subject: [PATCH] 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. --- libraries/AP_Frsky_Telem/AP_Frsky_Telem.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_Frsky_Telem/AP_Frsky_Telem.cpp b/libraries/AP_Frsky_Telem/AP_Frsky_Telem.cpp index 83e08a0230..c98a5717bd 100644 --- a/libraries/AP_Frsky_Telem/AP_Frsky_Telem.cpp +++ b/libraries/AP_Frsky_Telem/AP_Frsky_Telem.cpp @@ -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;