Skip to content

Commit 3e212e9

Browse files
committed
use missing type specifier for API
1 parent 1f7f46c commit 3e212e9

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

src/viam/sdk/services/discovery.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ API Discovery::api() const {
1111
return API::get<Discovery>();
1212
}
1313

14-
API::traits<Discovery>::api() {
14+
API API::traits<Discovery>::api() {
1515
return {kRDK, kService, "discovery"};
1616
}
1717

src/viam/sdk/services/discovery.hpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,16 @@ class Discovery : public Service {
2727
public:
2828
/// @brief Discover valid viam configuration of resources that are physically
2929
/// connected to your machine.
30+
/// @ingroup Discovery
3031
inline std::vector<ResourceConfig> discover_resources() {
3132
return discover_resources({});
3233
}
3334

3435
/// @brief Discover valid viam configuration of resources that are physically
3536
/// connected to your machine.
37+
/// @param extra Any additional arguments to the method.
38+
/// @return array of potential viam configurations for hardware physically
39+
// connected to your viam server
3640
virtual std::vector<ResourceConfig> discover_resources(const ProtoStruct& extra) = 0;
3741

3842
/// @brief Do an arbitrary command.

0 commit comments

Comments
 (0)