mirror of https://github.com/ArduPilot/ardupilot
AR_Motors: fix support for omni vehicles
This commit is contained in:
parent
f02973b454
commit
9cd85f2a2f
|
@ -142,7 +142,7 @@ void AP_MotorsUGV::init(uint8_t frtype)
|
|||
setup_safety_output();
|
||||
|
||||
// setup for omni vehicles
|
||||
if (is_omni()) {
|
||||
if (_frame_type != FRAME_TYPE_UNDEFINED) {
|
||||
setup_omni();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue