Skip to content

Commit

Permalink
AP_Arming: Add check for CAN MR72
Browse files Browse the repository at this point in the history
  • Loading branch information
rishabsingh3003 committed Dec 19, 2023
1 parent 61b1945 commit e11ac2c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libraries/AP_Arming/AP_Arming.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1236,6 +1236,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)) {
Expand Down

0 comments on commit e11ac2c

Please sign in to comment.