ms5611: fixed the i2c device on NuttX. This was left-over debugging noise from the POSIX bringup.

This commit is contained in:
Andrew Tridgell 2015-06-27 21:23:53 +10:00 committed by Lorenz Meier
parent c428b77512
commit 5e27b7bc31
1 changed files with 4 additions and 4 deletions

View File

@ -71,8 +71,8 @@ public:
virtual ~MS5611_I2C();
virtual int init();
virtual int dev_read(unsigned offset, void *data, unsigned count);
virtual int dev_ioctl(unsigned operation, unsigned &arg);
virtual int read(unsigned offset, void *data, unsigned count);
virtual int ioctl(unsigned operation, unsigned &arg);
#ifdef __PX4_NUTTX
protected:
@ -139,7 +139,7 @@ MS5611_I2C::init()
}
int
MS5611_I2C::dev_read(unsigned offset, void *data, unsigned count)
MS5611_I2C::read(unsigned offset, void *data, unsigned count)
{
union _cvt {
uint8_t b[4];
@ -162,7 +162,7 @@ MS5611_I2C::dev_read(unsigned offset, void *data, unsigned count)
}
int
MS5611_I2C::dev_ioctl(unsigned operation, unsigned &arg)
MS5611_I2C::ioctl(unsigned operation, unsigned &arg)
{
int ret;