From 22ab426cf2017953faf8e925543d6d95cb0df24b Mon Sep 17 00:00:00 2001 From: Siddharth Purohit Date: Mon, 24 Aug 2020 01:35:40 +0530 Subject: [PATCH] AP_HAL: make bools to use single bit in CANTxItem --- libraries/AP_HAL/CANIface.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/libraries/AP_HAL/CANIface.h b/libraries/AP_HAL/CANIface.h index 77fda62e52..dca011f693 100644 --- a/libraries/AP_HAL/CANIface.h +++ b/libraries/AP_HAL/CANIface.h @@ -113,11 +113,11 @@ public: uint64_t deadline = 0; CANFrame frame; uint32_t index = 0; - bool loopback = false; - bool abort_on_error = false; - bool aborted = false; - bool pushed = false; - bool setup = false; + bool loopback:1; + bool abort_on_error:1; + bool aborted:1; + bool pushed:1; + bool setup:1; bool operator<(const CanTxItem& rhs) const {