diff options
author | Fredrik Thulin <fredrik@thulin.net> | 2016-07-16 15:05:23 +0200 |
---|---|---|
committer | Fredrik Thulin <fredrik@thulin.net> | 2016-07-16 15:05:23 +0200 |
commit | 574aea07d7d0eeddae965a80d9f1e6a3a42f2645 (patch) | |
tree | caecae23795dea4a4d10735b6ca4768fbba9bed4 | |
parent | b1abec4fb2478057da8e0e6788b015ce16e4985b (diff) |
The sleep mode seems to not work yet.
It seems the AVR reboots on exiting sleep mode.
-rw-r--r-- | tamper.c | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -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; |