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

@@ -1,6 +1,6 @@
upm_mixed_module_init (NAME bh1750
DESCRIPTION "Digital Light Sensor"
C_HDR bh1750.h
C_HDR bh1750.h bh1750_defs.h
C_SRC bh1750.c
CPP_HDR bh1750.hpp
CPP_SRC bh1750.cxx