Updated rule for ABP sensor.

Signed-off-by: Serban Waltter <serban.waltter@rinftech.com>
This commit is contained in:
Serban Waltter 2018-06-21 16:46:49 +03:00
parent 75dced21be
commit 802e95fc8c

View File

@ -1,7 +1,17 @@
#ifdef SWIGPYTHON
%module (package="upm") htu21d
#endif
%import "interfaces/new_interfaces.i"
%include "../common_top.i"
/* BEGIN Java syntax ------------------------------------------------------- */
#ifdef SWIGJAVA
%typemap(javaimports) SWIGTYPE %{
import upm_new_interfaces.*;
%}
JAVA_JNI_LOADLIBRARY(javaupm_abp)
#endif
/* END Java syntax */
@ -10,6 +20,5 @@ JAVA_JNI_LOADLIBRARY(javaupm_abp)
%{
#include "abp.hpp"
%}
%include "interfaces/iTemperature.hpp"
%include "abp.hpp"
/* END Common SWIG syntax */