AP_HAL: review comments

This commit is contained in:
Andrew Tridgell 2022-02-11 18:37:48 +11:00
parent f0761a0ad8
commit eb549f3e00

View File

@ -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