AP_RangeFinder: move and rename CAN Driver_Type enumeration

This commit is contained in:
Peter Barker 2023-04-18 17:24:17 +10:00 committed by Peter Barker
parent 34a02fcda9
commit 7461dffb89
2 changed files with 2 additions and 2 deletions

View File

@ -48,7 +48,7 @@ private:
class Benewake_MultiCAN : public CANSensor {
public:
Benewake_MultiCAN() : CANSensor("Benewake") {
register_driver(AP_CANManager::Driver_Type_Benewake);
register_driver(AP_CAN::Protocol::Benewake);
}
// handler for incoming frames

View File

@ -45,7 +45,7 @@ private:
class USD1_MultiCAN : public CANSensor {
public:
USD1_MultiCAN() : CANSensor("USD1") {
register_driver(AP_CANManager::Driver_Type_USD1);
register_driver(AP_CAN::Protocol::USD1);
}
// handler for incoming frames