mirror of
https://github.com/eclipse/upm.git
synced 2025-07-04 19:01:21 +03:00
hcsr04: Made ISR be used internally and not be exposed to the user. Changed access modifier to private. Removed passing ISR to constructor.
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
e54f5e21c3
commit
1accafa145
@ -1,11 +1,6 @@
|
||||
%module(directors="1") javaupm_hcsr04
|
||||
%include "../upm.i"
|
||||
|
||||
%feature("director") IsrCallback;
|
||||
|
||||
%ignore generic_callback_isr;
|
||||
%include "../IsrCallback.h"
|
||||
|
||||
%{
|
||||
#include "hcsr04.h"
|
||||
%}
|
||||
@ -21,4 +16,5 @@
|
||||
System.exit(1);
|
||||
}
|
||||
}
|
||||
%}
|
||||
%}
|
||||
|
||||
|
Reference in New Issue
Block a user