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:
Mark Charlebois
2015-04-20 11:35:47 -07:00
parent 892012aa15
commit c6498de3e1
2 changed files with 13 additions and 2 deletions
+2 -2
View File
@@ -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;