[Cryptech-Commits] [sw/tamper] 18/20: The sleep mode seems to not work yet.

git at cryptech.is git at cryptech.is
Fri Jul 22 14:58:17 UTC 2016


This is an automated email from the git hooks/post-receive script.

paul at psgd.org pushed a commit to branch master
in repository sw/tamper.

commit 574aea07d7d0eeddae965a80d9f1e6a3a42f2645
Author: Fredrik Thulin <fredrik at thulin.net>
AuthorDate: Sat Jul 16 15:05:23 2016 +0200

    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;



More information about the Commits mailing list