altos/telelcotwo: Add idle timeout
authorKeith Packard <keithp@keithp.com>
Wed, 6 Apr 2016 06:45:52 +0000 (23:45 -0700)
committerKeith Packard <keithp@keithp.com>
Wed, 20 Apr 2016 03:21:30 +0000 (23:21 -0400)
commit70e46100acf597014ce54cf3b642254ce1cba59b
tree361824076b35ac39ae3d427a2a2b0127753a238f
parentaef5049cf8311927fada922730f85f31c8ddf177
altos/telelcotwo: Add idle timeout

Puts TeleLCOTwo in a low power state (drawing about 80µA) after a
timeout (default two minutes) to keep from killing the battery if the
device is left turned on.

Signed-off-by: Keith Packard <keithp@keithp.com>
src/drivers/ao_event.c
src/drivers/ao_event.h
src/drivers/ao_lco_two.c
src/kernel/ao_config.c
src/kernel/ao_config.h