mirror of
https://github.com/eclipse/upm.git
synced 2025-07-02 09:51:14 +03:00
Added new macros for installISR and applied where possible.
This commit is contained in:
@ -49,12 +49,8 @@
|
||||
#include "grovetemp.hpp"
|
||||
%}
|
||||
|
||||
%extend upm::GroveButton {
|
||||
void installISR(mraa::Edge level, jobject runnable)
|
||||
{
|
||||
$self->installISR(level, mraa_java_isr_callback, runnable);
|
||||
}
|
||||
}
|
||||
JAVA_ADD_INSTALLISR_EDGE(upm::GroveButton)
|
||||
|
||||
|
||||
|
||||
JAVA_JNI_LOADLIBRARY(javaupm_grove)
|
||||
|
Reference in New Issue
Block a user