libuavcan passive mode support

This commit is contained in:
Pavel Kirienko
2014-07-12 16:52:17 +04:00
parent 93f861ad60
commit c9c9a16e94
6 changed files with 47 additions and 4 deletions
@@ -34,6 +34,8 @@ public:
return getScheduler().getDispatcher().setNodeID(nid);
}
bool isPassiveMode() const { return getScheduler().getDispatcher().isPassiveMode(); }
int spin(MonotonicTime deadline)
{
return getScheduler().spin(deadline);