mirror of https://github.com/ArduPilot/ardupilot
AP_UAVCAN: don't update hobbywing ESC table while armed
some hobbywing ESCs have a bug where requesting the ID table can cause the ESC to stutter
This commit is contained in:
parent
c7ef591a56
commit
42f6c9400d
|
@ -1713,7 +1713,7 @@ void AP_UAVCAN::logging(void)
|
|||
*/
|
||||
void AP_UAVCAN::hobbywing_ESC_update(void)
|
||||
{
|
||||
if (!hobbywing.enabled) {
|
||||
if (!hobbywing.enabled || hal.util->get_soft_armed()) {
|
||||
return;
|
||||
}
|
||||
uint32_t now = AP_HAL::millis();
|
||||
|
|
Loading…
Reference in New Issue