summaryrefslogtreecommitdiff
path: root/src/kernel/ao_config.h
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2016-04-05 23:45:52 -0700
committerKeith Packard <keithp@keithp.com>2016-04-19 23:21:30 -0400
commit70e46100acf597014ce54cf3b642254ce1cba59b (patch)
tree361824076b35ac39ae3d427a2a2b0127753a238f /src/kernel/ao_config.h
parentaef5049cf8311927fada922730f85f31c8ddf177 (diff)
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>
Diffstat (limited to 'src/kernel/ao_config.h')
-rw-r--r--src/kernel/ao_config.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/kernel/ao_config.h b/src/kernel/ao_config.h
index f4e9af44..3c73ea49 100644
--- a/src/kernel/ao_config.h
+++ b/src/kernel/ao_config.h
@@ -57,7 +57,7 @@
#endif
#define AO_CONFIG_MAJOR 1
-#define AO_CONFIG_MINOR 22
+#define AO_CONFIG_MINOR 23
#define AO_AES_LEN 16
@@ -120,6 +120,7 @@ struct ao_config {
#endif
#if HAS_FIXED_PAD_BOX
uint8_t pad_box; /* minor version 22 */
+ uint8_t pad_idle; /* minor version 23 */
#endif
};