Browse Source

SRV_Channels: fix for replay

mission-4.1.18
Andrew Tridgell 7 years ago
parent
commit
c0c4021605
  1. 3
      libraries/SRV_Channel/SRV_Channel_aux.cpp

3
libraries/SRV_Channel/SRV_Channel_aux.cpp

@ -128,6 +128,9 @@ void SRV_Channel::aux_servo_function_setup(void) @@ -128,6 +128,9 @@ void SRV_Channel::aux_servo_function_setup(void)
/// setup the output range types of all functions
void SRV_Channels::update_aux_servo_function(void)
{
if (!channels) {
return;
}
function_mask.clearall();
for (uint8_t i = 0; i < SRV_Channel::k_nr_aux_servo_functions; i++) {

Loading…
Cancel
Save