java: changed some C types to C++ types
Signed-off-by: Andrei Vasiliu <andrei.vasiliu@intel.com> Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com> Conflicts: src/mma7455/mma7455.cxx src/mma7455/mma7455.h src/sm130/sm130.cxx src/sm130/sm130.h
This commit is contained in:
committed by
Mihai Tudor Panu
parent
b8835958e2
commit
ab730038fd
@@ -24,7 +24,7 @@
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#include <mraa/i2c.h>
|
||||
#include <mraa/i2c.hpp>
|
||||
|
||||
#define MAX_BUFFER_LENGTH 6
|
||||
|
||||
@@ -88,7 +88,7 @@ public:
|
||||
*
|
||||
* @return 0 if successful
|
||||
*/
|
||||
mraa_result_t update();
|
||||
mraa::Result update();
|
||||
|
||||
/**
|
||||
* Sets the magnetic declination for better calibration
|
||||
@@ -105,7 +105,7 @@ private:
|
||||
int16_t m_coor[3];
|
||||
float m_declination;
|
||||
uint8_t m_rx_tx_buf[MAX_BUFFER_LENGTH];
|
||||
mraa_i2c_context m_i2c;
|
||||
mraa::I2c m_i2c;
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user