diff options
Diffstat (limited to 'peripheral/libupm/src/sx1276/javaupm_sx1276.i')
-rw-r--r-- | peripheral/libupm/src/sx1276/javaupm_sx1276.i | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/peripheral/libupm/src/sx1276/javaupm_sx1276.i b/peripheral/libupm/src/sx1276/javaupm_sx1276.i deleted file mode 100644 index 61bb24b..0000000 --- a/peripheral/libupm/src/sx1276/javaupm_sx1276.i +++ /dev/null @@ -1,26 +0,0 @@ -%module javaupm_sx1276 -%include "../upm.i" -%include "cpointer.i" -%include "typemaps.i" -%include "arrays_java.i"; -%include "../java_buffer.i" - -%{ - #include "sx1276.h" -%} - -%ignore send(uint8_t *buffer, uint8_t size, int txTimeout); -%ignore getRxBuffer(); - -%include "sx1276.h" - -%pragma(java) jniclasscode=%{ - static { - try { - System.loadLibrary("javaupm_sx1276"); - } catch (UnsatisfiedLinkError e) { - System.err.println("Native code library failed to load. \n" + e); - System.exit(1); - } - } -%} |