BH1749: Add library blocks to headers, JSON format, and change SWIG JAVA vector type

- Add library blocks to header files
- Removed unneccessay new lines in JSON file
- Change SWIG Java floatVector to uint16Vector

Signed-off-by: Assam Boudjelthia <assam.boudjelthia@fi.rohmeurope.com>
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
This commit is contained in:
Assam Boudjelthia
2018-08-06 10:42:17 +03:00
committed by Mihai Tudor Panu
parent 9ef90ccb81
commit 4935a16530
5 changed files with 23 additions and 32 deletions

View File

@ -28,7 +28,7 @@ public class BH1749_Example {
int sampleCounter = 10;
long waitTime;
upm_bh1749.BH1749 bh1749;
upm_bh1749.floatVector result;
upm_bh1749.uint16Vector result;
bh1749 = new upm_bh1749.BH1749();
bh1749.SensorInit(upm_bh1749.OPERATING_MODES.INT_JUDGE_1,