Skip to content

Commit

Permalink
TODO-1070: experimental extract 'weak' occupancy from ambient light
Browse files Browse the repository at this point in the history
  • Loading branch information
DamonHD committed Nov 26, 2016
1 parent 4670c75 commit 067ea78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Arduino/V0p2_Main/Control.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -546,7 +546,7 @@ static void wireComponentsTogether()
#endif // ENABLE_FHT8VSIMPLE

#if defined(ENABLE_OCCUPANCY_SUPPORT) && defined(ENABLE_OCCUPANCY_DETECTION_FROM_AMBLIGHT)
AmbLight.setPossOccCallback([]{Occupancy.markAsPossiblyOccupied();});
AmbLight.setOccCallbackOpt([](bool prob){if(prob){Occupancy.markAsPossiblyOccupied();}else{Occupancy.markAsJustPossiblyOccupied();}});
#endif // ENABLE_OCCUPANCY_DETECTION_FROM_AMBLIGHT

#if defined(ENABLE_OCCUPANCY_SUPPORT) && defined(ENABLE_OCCUPANCY_DETECTION_FROM_VOICE)
Expand Down

0 comments on commit 067ea78

Please sign in to comment.