STM32H7 CAN: fix uninitialized pending variable

This commit is contained in:
Mirko Denecke
2020-09-08 09:59:27 +02:00
committed by Daniel Agar
parent 2b0396d5df
commit ac732cdeba

View File

@@ -99,8 +99,8 @@ class CanIface : public uavcan::ICanIface, uavcan::Noncopyable
bool abort_on_error;
TxItem()
: /*pending(false)
,*/ loopback(false)
: pending(false)
, loopback(false)
, abort_on_error(false)
{ }
};