bh1750: move defines/register defs into separate header for SWIG

Signed-off-by: Jon Trulson <jtrulson@ics.com>
This commit is contained in:
Jon Trulson
2017-03-16 17:15:19 -06:00
committed by Jon Trulson
parent 1a0bdf00cf
commit 3f334ed1f3
6 changed files with 82 additions and 43 deletions

View File

@@ -2,12 +2,13 @@
%include "../upm.i"
%include "std_string.i"
%include "bh1750_defs.h"
%include "bh1750.hpp"
%{
#include "bh1750.hpp"
%}
%include "bh1750.hpp"
%pragma(java) jniclasscode=%{
static {