aboutsummaryrefslogtreecommitdiff
path: root/src/modules/uavcan/sensors/sensor_bridge.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/uavcan/sensors/sensor_bridge.hpp')
-rw-r--r--src/modules/uavcan/sensors/sensor_bridge.hpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/modules/uavcan/sensors/sensor_bridge.hpp b/src/modules/uavcan/sensors/sensor_bridge.hpp
index 7bd811813..976d9a03d 100644
--- a/src/modules/uavcan/sensors/sensor_bridge.hpp
+++ b/src/modules/uavcan/sensors/sensor_bridge.hpp
@@ -67,4 +67,9 @@ public:
* @return nullptr if such bridge can't be created.
*/
static IUavcanSensorBridge* make(uavcan::INode &node, const char *bridge_name);
+
+ /**
+ * Prints all valid bridge names into stdout via printf(), one name per line with prefix.
+ */
+ static void print_known_names(const char *prefix);
};