mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-17 12:33:34 +08:00
SIM: pushed transfer stub for ms5611_sim
The MS5611_SIM class is supposed to simulate data from a real ms5611. An externl simulator could provide an interface to call to get data that would be returned from a transfer() call. Signed-off-by: Mark Charlebois <charlebm@gmail.com>
This commit is contained in:
@@ -97,8 +97,8 @@ protected:
|
||||
* @return OK if the transfer was successful, -errno
|
||||
* otherwise.
|
||||
*/
|
||||
virtual int transfer(const uint8_t *send, unsigned send_len,
|
||||
uint8_t *recv, unsigned recv_len);
|
||||
virtual int transfer(const uint8_t *send, unsigned send_len,
|
||||
uint8_t *recv, unsigned recv_len);
|
||||
|
||||
private:
|
||||
uint16_t _address;
|
||||
|
||||
Reference in New Issue
Block a user