AP_HAL: make bools to use single bit in CANTxItem

This commit is contained in:
Siddharth Purohit 2020-08-24 01:35:40 +05:30 committed by Peter Barker
parent 72cf040f81
commit 22ab426cf2

View File

@ -113,11 +113,11 @@ public:
uint64_t deadline = 0; uint64_t deadline = 0;
CANFrame frame; CANFrame frame;
uint32_t index = 0; uint32_t index = 0;
bool loopback = false; bool loopback:1;
bool abort_on_error = false; bool abort_on_error:1;
bool aborted = false; bool aborted:1;
bool pushed = false; bool pushed:1;
bool setup = false; bool setup:1;
bool operator<(const CanTxItem& rhs) const bool operator<(const CanTxItem& rhs) const
{ {