mirror of
https://github.com/eclipse/upm.git
synced 2025-07-05 19:31:15 +03:00
java: Eliminated double definition of SWIGJAVA and the need for "#undefine SWIGJAVA"
Signed-off-by: Stefan Andritoiu <stefan.andritoiu@intel.com> Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com> Conflicts: src/CMakeLists.txt
This commit is contained in:

committed by
Mihai Tudor Panu

parent
f991bcf915
commit
ef74a7b137
@ -602,7 +602,7 @@ void LSM9DS0::getMagnetometer(float *x, float *y, float *z)
|
||||
*z = (m_magZ * m_magScale) / 1000.0;
|
||||
}
|
||||
|
||||
#ifdef SWIGJAVA
|
||||
#ifdef JAVACALLBACK
|
||||
float *LSM9DS0::getAccelerometer()
|
||||
{
|
||||
float *v = new float[3];
|
||||
|
Reference in New Issue
Block a user