Browse Source

AP_PiccoloCAN: GPIO servo does not count as active

gps-1.3.1
Iampete1 3 years ago committed by Andrew Tridgell
parent
commit
150fc527d7
  1. 2
      libraries/AP_PiccoloCAN/AP_PiccoloCAN.cpp

2
libraries/AP_PiccoloCAN/AP_PiccoloCAN.cpp

@ -749,7 +749,7 @@ bool AP_PiccoloCAN::is_servo_channel_active(uint8_t chan)
SRV_Channel::Aux_servo_function_t function = SRV_Channels::channel_function(chan); SRV_Channel::Aux_servo_function_t function = SRV_Channels::channel_function(chan);
// Ignore if the servo channel does not have a function assigned // Ignore if the servo channel does not have a function assigned
if (function == SRV_Channel::k_none) { if (function <= SRV_Channel::k_none) {
return false; return false;
} }

Loading…
Cancel
Save