STM32 initOnce(), not complete yet

This commit is contained in:
Pavel Kirienko
2015-10-10 10:05:51 +03:00
parent 93fe54bb21
commit 85100d6766
2 changed files with 56 additions and 62 deletions
@@ -223,6 +223,8 @@ class CanDriver : public uavcan::ICanDriver, uavcan::Noncopyable
const uavcan::CanFrame* (& pending_tx)[uavcan::MaxCanIfaces],
uavcan::MonotonicTime blocking_deadline);
static void initOnce();
public:
template <unsigned RxQueueCapacity>
CanDriver(CanRxItem (&rx_queue_storage)[UAVCAN_STM32_NUM_IFACES][RxQueueCapacity])