mirror of
https://github.com/eclipse/upm.git
synced 2025-07-01 17:31:13 +03:00
ims: Fixed IMS java example
* Fixed a compile issue for the JAVA example * Added C header to swig java/js interface files Signed-off-by: Noel Eck <noel.eck@intel.com>
This commit is contained in:
@ -158,7 +158,7 @@ add_example(DFREC_Example dfrec)
|
||||
add_example(SHT1X_Example sht1x)
|
||||
add_example(MS5803_Example ms5803)
|
||||
add_example(ECEZO_Example ecezo)
|
||||
add_example(IMS_Example ecezo)
|
||||
add_example(IMS_Example ims)
|
||||
|
||||
add_example_with_path(Jhd1313m1_lcdSample lcd i2clcd)
|
||||
add_example_with_path(Jhd1313m1Sample lcd i2clcd)
|
||||
|
@ -31,7 +31,7 @@ public class IMS_Example
|
||||
// ! [Interesting]
|
||||
|
||||
// Instantiate a IMS instance using bus 0 and default i2c address
|
||||
IMS sensor = new IMS(0);
|
||||
IMS sensor = new IMS((short)0);
|
||||
|
||||
while (true)
|
||||
{
|
||||
|
Reference in New Issue
Block a user