mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
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:
parent
039d12bd55
commit
530955c15f
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user