mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-02 01:20:25 +08:00
fix ProtocolToStr() visibility
This commit is contained in:
@@ -703,9 +703,9 @@ SensorData CameraDepthAI::captureImage(CameraInfo * info)
|
||||
return data;
|
||||
}
|
||||
|
||||
#ifdef RTABMAP_DEPTHAI
|
||||
std::string CameraDepthAI::ProtocolToStr(XLinkProtocol_t val)
|
||||
{
|
||||
#ifdef RTABMAP_DEPTHAI
|
||||
switch (val)
|
||||
{
|
||||
case X_LINK_USB_VSC:
|
||||
@@ -726,8 +726,7 @@ std::string CameraDepthAI::ProtocolToStr(XLinkProtocol_t val)
|
||||
return "INVALID_ENUM_VALUE";
|
||||
break;
|
||||
}
|
||||
#endif
|
||||
return "";
|
||||
}
|
||||
#endif
|
||||
|
||||
} // namespace rtabmap
|
||||
|
||||
Reference in New Issue
Block a user