AP_Arming: Add check for CAN MR72

This commit is contained in:
rishabsingh3003 2023-12-19 23:15:12 +05:30 committed by Andrew Tridgell
parent b8d08a7211
commit b2dfd14696
1 changed files with 1 additions and 0 deletions

View File

@ -1244,6 +1244,7 @@ bool AP_Arming::can_checks(bool report)
case AP_CAN::Protocol::TOFSenseP:
case AP_CAN::Protocol::NanoRadar_NRA24:
case AP_CAN::Protocol::Benewake:
case AP_CAN::Protocol::MR72:
{
for (uint8_t j = i; j; j--) {
if (AP::can().get_driver_type(i) == AP::can().get_driver_type(j-1)) {