mirror of https://github.com/ArduPilot/ardupilot
AP_VideoTX: only mark updates when the VTX is enabled
This commit is contained in:
parent
f1eee860c0
commit
961c517274
|
@ -241,11 +241,12 @@ void AP_VideoTX::update(void)
|
|||
|
||||
bool AP_VideoTX::have_params_changed() const
|
||||
{
|
||||
return update_power()
|
||||
return _enabled
|
||||
&& (update_power()
|
||||
|| update_band()
|
||||
|| update_channel()
|
||||
|| update_frequency()
|
||||
|| update_options();
|
||||
|| update_options());
|
||||
}
|
||||
|
||||
// update the configured frequency to match the channel and band
|
||||
|
|
Loading…
Reference in New Issue