CanIOManager::makePendingTxMask() made public

This commit is contained in:
Pavel Kirienko
2015-05-29 03:34:37 +03:00
parent 954ab2491a
commit fe3fce4996
2 changed files with 15 additions and 14 deletions
@@ -154,7 +154,6 @@ class UAVCAN_EXPORT CanIOManager : Noncopyable
int sendToIface(uint8_t iface_index, const CanFrame& frame, MonotonicTime tx_deadline, CanIOFlags flags);
int sendFromTxQueue(uint8_t iface_index);
uint8_t makePendingTxMask() const;
int callSelect(CanSelectMasks& inout_masks, MonotonicTime blocking_deadline);
public:
@@ -168,6 +167,8 @@ public:
const ICanDriver& getCanDriver() const { return driver_; }
ICanDriver& getCanDriver() { return driver_; }
uint8_t makePendingTxMask() const;
/**
* Returns:
* 0 - rejected/timedout/enqueued