mirror of
https://github.com/eclipse/upm.git
synced 2025-07-08 04:41:12 +03:00
java: solved callbacks
Signed-off-by: Stefan Andritoiu <stefan.andritoiu@intel.com> Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
This commit is contained in:

committed by
Mihai Tudor Panu

parent
323905a215
commit
19bcbc7c42
@ -54,6 +54,13 @@ bool A110X::magnetDetected()
|
||||
return (!mraa_gpio_read(m_gpio) ? true : false);
|
||||
}
|
||||
|
||||
#ifdef SWIGJAVA
|
||||
void A110X::installISR( IsrCallback *cb)
|
||||
{
|
||||
installISR(generic_callback_isr, cb);
|
||||
}
|
||||
#endif
|
||||
|
||||
void A110X::installISR(void (*isr)(void *), void *arg)
|
||||
{
|
||||
if (m_isrInstalled)
|
||||
|
Reference in New Issue
Block a user