Added new macros for installISR and applied where possible.

This commit is contained in:
Serban Waltter
2018-01-19 13:12:50 +02:00
committed by Noel Eck
parent 63b2b33df7
commit e192a125f3
20 changed files with 111 additions and 144 deletions

View File

@ -14,12 +14,5 @@
%ignore installISR(int pin, void *, void *);
%extend upm::MCP2515 {
void installISR(int pin, jobject runnable)
{
$self->installISR(pin, mraa_java_isr_callback, runnable);
}
}
JAVA_ADD_INSTALLISR_PIN(upm::MCP2515)
JAVA_JNI_LOADLIBRARY(javaupm_mcp2515)