summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVegard Storheil Eriksen <zyp@jvnv.net>2014-04-25 14:12:46 +0200
committerVegard Storheil Eriksen <zyp@jvnv.net>2014-04-25 14:12:46 +0200
commit63f259ef0816f8816117890a6b5b9d07bb3e1a56 (patch)
treeb0f80c0430fa338813af7244cee014cd2684993f
parent665eca30c55cb410e8b6c5a1942118c89b6bae54 (diff)
Added startup delay.
-rw-r--r--main.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/main.cpp b/main.cpp
index 3722105..a2a48a7 100644
--- a/main.cpp
+++ b/main.cpp
@@ -490,6 +490,8 @@ int main() {
bool cmd_sent = false;
uint32_t nfc_delay_until = 0;
+ Time::sleep(1000);
+
cr95hf.send_cmd(0x02, 2, (uint8_t*)"\x01\x05"); // Select ISO 15693
cr95hf.get_response(64, buf);