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:
Stefan Andritoiu
2015-11-27 17:03:34 +02:00
committed by Mihai Tudor Panu
parent e54f5e21c3
commit 1accafa145
5 changed files with 20 additions and 66 deletions

View File

@ -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);
}
}
%}
%}