From 574aea07d7d0eeddae965a80d9f1e6a3a42f2645 Mon Sep 17 00:00:00 2001 From: Fredrik Thulin Date: Sat, 16 Jul 2016 15:05:23 +0200 Subject: The sleep mode seems to not work yet. It seems the AVR reboots on exiting sleep mode. --- tamper.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/tamper.c b/tamper.c index e3d12af..e2b2127 100644 --- a/tamper.c +++ b/tamper.c @@ -261,8 +261,12 @@ main() if (panic_p()) mkm_wipe(); - if (!panic_p()) - sleep(); + /* Sleep is not working right at the moment (the AVR seems to be reset + when brought out of sleep mode by a press on the panic button). + + if (!panic_p()) + sleep(); + */ } return 0; -- cgit v1.2.3