AP_CANManager: Add TOFSenseP CAN driver

This commit is contained in:
rishabsingh3003 2023-06-19 22:40:50 +05:30 committed by Andrew Tridgell
parent 4422296b95
commit 0110c98afc
2 changed files with 2 additions and 1 deletions

View File

@ -27,5 +27,6 @@ public:
Scripting = 10, Scripting = 10,
Benewake = 11, Benewake = 11,
Scripting2 = 12, Scripting2 = 12,
TOFSenseP = 13,
}; };
}; };

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 // @Values: 0:Disabled,1:DroneCAN,4:PiccoloCAN,6:EFI_NWPMU,7:USD1,8:KDECAN,10:Scripting,11:Benewake,12:Scripting2, 13:TOFSenseP
// @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)),