From eb549f3e000ceec7a46a3c111e355b94ad2cf265 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Fri, 11 Feb 2022 18:37:48 +1100 Subject: [PATCH] AP_HAL: review comments --- libraries/AP_HAL/CANIface.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libraries/AP_HAL/CANIface.h b/libraries/AP_HAL/CANIface.h index 8f6f568318..0a0b8a614e 100644 --- a/libraries/AP_HAL/CANIface.h +++ b/libraries/AP_HAL/CANIface.h @@ -168,10 +168,12 @@ public: } // Put frame in queue to be sent, return negative if error occured, 0 if no space, and 1 if successful + // must be called on child class virtual int16_t send(const CANFrame& frame, uint64_t tx_deadline, CanIOFlags flags); // Non blocking receive frame that pops the frames received inside the buffer, return negative if error occured, // 0 if no frame available, 1 if successful + // must be called on child class virtual int16_t receive(CANFrame& out_frame, uint64_t& out_ts_monotonic, CanIOFlags& out_flags); //Configure filters so as to reject frames that are not going to be handled by us