mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
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 {
|
class Benewake_MultiCAN : public CANSensor {
|
||||||
public:
|
public:
|
||||||
Benewake_MultiCAN() : CANSensor("Benewake") {
|
Benewake_MultiCAN() : CANSensor("Benewake") {
|
||||||
register_driver(AP_CANManager::Driver_Type_Benewake);
|
register_driver(AP_CAN::Protocol::Benewake);
|
||||||
}
|
}
|
||||||
|
|
||||||
// handler for incoming frames
|
// handler for incoming frames
|
||||||
|
@ -45,7 +45,7 @@ private:
|
|||||||
class USD1_MultiCAN : public CANSensor {
|
class USD1_MultiCAN : public CANSensor {
|
||||||
public:
|
public:
|
||||||
USD1_MultiCAN() : CANSensor("USD1") {
|
USD1_MultiCAN() : CANSensor("USD1") {
|
||||||
register_driver(AP_CANManager::Driver_Type_USD1);
|
register_driver(AP_CAN::Protocol::USD1);
|
||||||
}
|
}
|
||||||
|
|
||||||
// handler for incoming frames
|
// handler for incoming frames
|
||||||
|
Loading…
Reference in New Issue
Block a user