mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-08-02 04:58:15 +08:00
STM32H7 CAN: fix uninitialized pending variable
This commit is contained in:
committed by
Daniel Agar
parent
2b0396d5df
commit
ac732cdeba
@@ -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)
|
||||
{ }
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user