Skip to content

Commit

Permalink
tcs34725 support (experimental)
Browse files Browse the repository at this point in the history
  • Loading branch information
nekuz0r committed Jul 23, 2014
1 parent 278b3dd commit f3d2b8e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@
'src/devlib/maxdetect.cc',
'src/devlib/piFace.cc',
'src/devlib/piGlow.cc',
'src/devlib/piNes.cc'
'src/devlib/piNes.cc',
'src/devlib/tcs34725.cc'
],
'include_dirs': [
'wiringpi/wiringPi',
Expand Down
2 changes: 2 additions & 0 deletions src/devlib/devlib.cc
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
#include "piFace.h"
#include "piGlow.h"
#include "piNes.h"
#include "tcs34725.h"

IMPLEMENT_EXPORT_INIT(devlib) {
INIT(ds1302);
Expand All @@ -18,4 +19,5 @@ IMPLEMENT_EXPORT_INIT(devlib) {
INIT(piFace);
INIT(piGlow);
INIT(piNes);
INIT(tcs34725);
}

0 comments on commit f3d2b8e

Please sign in to comment.