diff options
Diffstat (limited to 'peripheral/libupm/src/ads1x15/javaupm_ads1x15.i')
-rw-r--r-- | peripheral/libupm/src/ads1x15/javaupm_ads1x15.i | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/peripheral/libupm/src/ads1x15/javaupm_ads1x15.i b/peripheral/libupm/src/ads1x15/javaupm_ads1x15.i deleted file mode 100644 index 88522e3..0000000 --- a/peripheral/libupm/src/ads1x15/javaupm_ads1x15.i +++ /dev/null @@ -1,26 +0,0 @@ -%module javaupm_ads1x15 -%include "../upm.i" -%include "typemaps.i" - -%{ - #include "ads1x15.h" - #include "ads1015.h" - #include "ads1115.h" -%} - -%include "ads1x15.h" -%include "ads1015.h" -%include "ads1115.h" - - - -%pragma(java) jniclasscode=%{ - static { - try { - System.loadLibrary("javaupm_ads1x15"); - } catch (UnsatisfiedLinkError e) { - System.err.println("Native code library failed to load. \n" + e); - System.exit(1); - } - } -%}
\ No newline at end of file |