Device: Add MAVLINK bus type

This commit is contained in:
JacobCrabill
2021-01-27 17:08:29 -08:00
committed by Lorenz Meier
parent a4745c6825
commit bf4ae81995
2 changed files with 7 additions and 3 deletions
+4
View File
@@ -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";