AR_Motors: fix support for omni vehicles

This commit is contained in:
Mirko Denecke 2023-12-31 14:35:12 +01:00 committed by Andrew Tridgell
parent f02973b454
commit 9cd85f2a2f
1 changed files with 1 additions and 1 deletions

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();
}
}