mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-26 01:17:51 +08:00
Device: Add MAVLINK bus type
This commit is contained in:
committed by
Lorenz Meier
parent
a4745c6825
commit
bf4ae81995
@@ -148,6 +148,7 @@ public:
|
||||
DeviceBusType_UAVCAN = 3,
|
||||
DeviceBusType_SIMULATION = 4,
|
||||
DeviceBusType_SERIAL = 5,
|
||||
DeviceBusType_MAVLINK = 6,
|
||||
};
|
||||
|
||||
/*
|
||||
@@ -196,6 +197,9 @@ public:
|
||||
case DeviceBusType_SERIAL:
|
||||
return "SERIAL";
|
||||
|
||||
case DeviceBusType_MAVLINK:
|
||||
return "MAVLINK";
|
||||
|
||||
case DeviceBusType_UNKNOWN:
|
||||
default:
|
||||
return "UNKNOWN";
|
||||
|
||||
Reference in New Issue
Block a user