mirror of
https://github.com/eclipse/upm.git
synced 2025-07-06 11:51:10 +03:00
java: fix Java return types in MMA7660
Signed-off-by: Petre <petre.p.eftime@intel.com> Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
This commit is contained in:
@ -169,6 +169,15 @@ namespace upm {
|
||||
*/
|
||||
void getRawValues(int *x, int *y, int *z);
|
||||
|
||||
#ifdef SWIGJAVA
|
||||
/**
|
||||
* Reads the current value of conversion
|
||||
*
|
||||
* @return Array containing x, y, z. Free using delete.
|
||||
*/
|
||||
int *getRawValues();
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Gets the computed acceleration
|
||||
*
|
||||
@ -178,6 +187,15 @@ namespace upm {
|
||||
*/
|
||||
void getAcceleration(float *ax, float *ay, float *az);
|
||||
|
||||
#ifdef SWIGJAVA
|
||||
/**
|
||||
* Gets the computed acceleration
|
||||
*
|
||||
* @return Array containing x, y, z. Free using delete.
|
||||
*/
|
||||
float *getAcceleration();
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Reads an axis, verifying its validity. The value passed must
|
||||
* be one of REG_XOUT, REG_YOUT, or REG_ZOUT.
|
||||
|
Reference in New Issue
Block a user