AR_Motors: fix support for omni vehicles

This commit is contained in:
Mirko Denecke
2024-01-02 11:27:53 +11:00
committed by Andrew Tridgell
parent f02973b454
commit 9cd85f2a2f
+1 -1
View File
@@ -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();
}
}