java: Changed size_t and unsigned int to int in array declarations. Renamed buf to buffer where necesarry. Moved most Java array typemaps to java_buffer.i. Fixed some String buffers.
Signed-off-by: Petre Eftime <petre.p.eftime@intel.com> Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com> Conflicts: src/upm.i
This commit is contained in:
committed by
Mihai Tudor Panu
parent
ab730038fd
commit
2cab79b4c2
@@ -139,9 +139,9 @@ uint8_t MPU60X0::readReg(uint8_t reg)
|
||||
return m_i2c.readReg(reg);
|
||||
}
|
||||
|
||||
void MPU60X0::readRegs(uint8_t reg, uint8_t *buf, int len)
|
||||
void MPU60X0::readRegs(uint8_t reg, uint8_t *buffer, int len)
|
||||
{
|
||||
m_i2c.readBytesReg(reg, buf, len);
|
||||
m_i2c.readBytesReg(reg, buffer, len);
|
||||
}
|
||||
|
||||
bool MPU60X0::writeReg(uint8_t reg, uint8_t val)
|
||||
|
||||
Reference in New Issue
Block a user