UAVCAN: initializing all bridges by default

This commit is contained in:
Pavel Kirienko
2014-08-24 00:06:47 +04:00
parent 0f124963d4
commit e9da830316
5 changed files with 29 additions and 126 deletions
+1 -6
View File
@@ -73,12 +73,7 @@ public:
* Creates a bridge object by its ASCII name, e.g. "gnss", "mag".
* @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);
static void make_all(uavcan::INode &node, List<IUavcanSensorBridge*> &list);
};
/**