SRV_Channels: fix for replay

This commit is contained in:
Andrew Tridgell 2017-11-21 17:17:37 +11:00
parent d0d6040b3e
commit c0c4021605
1 changed files with 3 additions and 0 deletions

View File

@ -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++) {