mirror of https://github.com/ArduPilot/ardupilot
AP_Arming: Add check for CAN MR72
This commit is contained in:
parent
b8d08a7211
commit
b2dfd14696
|
@ -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