UAVCAN: Printing all known sensor bridge names with usage info

This commit is contained in:
Pavel Kirienko
2014-08-22 20:33:35 +04:00
parent 6870cd4d3d
commit 7132141cc4
3 changed files with 20 additions and 0 deletions
@@ -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);
};