mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-05 07:28:29 -04:00
AP_Arming: Add check for CAN MR72
This commit is contained in:
parent
771a2da715
commit
19b6b3bef9
@ -1244,6 +1244,7 @@ bool AP_Arming::can_checks(bool report)
|
|||||||
case AP_CAN::Protocol::TOFSenseP:
|
case AP_CAN::Protocol::TOFSenseP:
|
||||||
case AP_CAN::Protocol::NanoRadar_NRA24:
|
case AP_CAN::Protocol::NanoRadar_NRA24:
|
||||||
case AP_CAN::Protocol::Benewake:
|
case AP_CAN::Protocol::Benewake:
|
||||||
|
case AP_CAN::Protocol::MR72:
|
||||||
{
|
{
|
||||||
for (uint8_t j = i; j; j--) {
|
for (uint8_t j = i; j; j--) {
|
||||||
if (AP::can().get_driver_type(i) == AP::can().get_driver_type(j-1)) {
|
if (AP::can().get_driver_type(i) == AP::can().get_driver_type(j-1)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user