AP_CANManger: Add NRA24 CAN driver

This commit is contained in:
rishabsingh3003 2023-06-29 23:27:25 +05:30 committed by Andrew Tridgell
parent 66c2deaeac
commit ba08993a0b
2 changed files with 2 additions and 1 deletions

View File

@ -28,5 +28,6 @@ public:
Benewake = 11, Benewake = 11,
Scripting2 = 12, Scripting2 = 12,
TOFSenseP = 13, TOFSenseP = 13,
NanoRadar_NRA24 = 14,
}; };
}; };

View File

@ -30,7 +30,7 @@ const AP_Param::GroupInfo AP_CANManager::CANDriver_Params::var_info[] = {
// @Param: PROTOCOL // @Param: PROTOCOL
// @DisplayName: Enable use of specific protocol over virtual driver // @DisplayName: Enable use of specific protocol over virtual driver
// @Description: Enabling this option starts selected protocol that will use this virtual driver // @Description: Enabling this option starts selected protocol that will use this virtual driver
// @Values: 0:Disabled,1:DroneCAN,4:PiccoloCAN,6:EFI_NWPMU,7:USD1,8:KDECAN,10:Scripting,11:Benewake,12:Scripting2, 13:TOFSenseP // @Values: 0:Disabled,1:DroneCAN,4:PiccoloCAN,6:EFI_NWPMU,7:USD1,8:KDECAN,10:Scripting,11:Benewake,12:Scripting2,13:TOFSenseP,14:NanoRadar_NRA24
// @User: Advanced // @User: Advanced
// @RebootRequired: True // @RebootRequired: True
AP_GROUPINFO("PROTOCOL", 1, AP_CANManager::CANDriver_Params, _driver_type, float(AP_CAN::Protocol::DroneCAN)), AP_GROUPINFO("PROTOCOL", 1, AP_CANManager::CANDriver_Params, _driver_type, float(AP_CAN::Protocol::DroneCAN)),