Skip to content

Commit

Permalink
something besides the ir leds was still using current in the nightvis…
Browse files Browse the repository at this point in the history
…ion mode, was audible with the buildin mic :D
  • Loading branch information
iothing committed Mar 20, 2017
1 parent dbfc7a0 commit 01f302e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions data/usr/bin/fang-ir-control.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ do
if [ $IR_ON -eq 0 ]
then
echo 0x0 > /proc/isp/filter/saturation
gpio_ms1 -n 2 -m 1 -v 1 # filter movement enabled
gpio_ms1 -n 2 -m 1 -v 0 # filter movement enabled
gpio_aud write 1 0 1 # enable ir led and latch the filter in the correct position
gpio_ms1 -n 2 -m 1 -v 0 # # filter movement disabled
gpio_ms1 -n 2 -m 1 -v 1 # # filter movement disabled
echo 0x40 > /proc/isp/filter/saturation
IR_ON=1
fi
Expand Down

0 comments on commit 01f302e

Please sign in to comment.