mirror of https://github.com/ArduPilot/ardupilot
AP_RangeFinder: move and rename CAN Driver_Type enumeration
This commit is contained in:
parent
34a02fcda9
commit
7461dffb89
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue