mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-15 01:33:35 +08:00
SIM: made transfer a virtual method
Drivers simulating HW can implement specific behavior for calls to transfer. Signed-off-by: Mark Charlebois <charlebm@gmail.com>
This commit is contained in:
@@ -97,7 +97,7 @@ protected:
|
||||
* @return OK if the transfer was successful, -errno
|
||||
* otherwise.
|
||||
*/
|
||||
int transfer(const uint8_t *send, unsigned send_len,
|
||||
virtual int transfer(const uint8_t *send, unsigned send_len,
|
||||
uint8_t *recv, unsigned recv_len);
|
||||
|
||||
private:
|
||||
|
||||
Reference in New Issue
Block a user