From 6c59a056162cc28180990c9a50a5aa2ba592e1b3 Mon Sep 17 00:00:00 2001 From: Dake Date: Wed, 26 Aug 2015 15:31:44 +0200 Subject: [PATCH] corrective of default value --- client/cmdlfpcf7931.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/client/cmdlfpcf7931.c b/client/cmdlfpcf7931.c index f3a6ca55..17ec39eb 100644 --- a/client/cmdlfpcf7931.c +++ b/client/cmdlfpcf7931.c @@ -22,7 +22,7 @@ static int CmdHelp(const char *Cmd); -struct pcf7931_config configPcf = {{0x8F,0xEF,0x0D,0xA5,0xED,0x05,0xA1},17500,{-10,30}}; +struct pcf7931_config configPcf = {{0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF},17500,{0,0}}; int CmdLFPCF7931Read(const char *Cmd) { @@ -60,13 +60,13 @@ int CmdLFPCF7931Config(const char *Cmd) } //default values - configPcf.password[0] = 0x8F; - configPcf.password[1] = 0xEF; - configPcf.password[2] = 0x0D; - configPcf.password[3] = 0xA5; - configPcf.password[4] = 0xED; - configPcf.password[5] = 0x05; - configPcf.password[6] = 0xA1; + configPcf.password[0] = 0xFF; + configPcf.password[1] = 0xFF; + configPcf.password[2] = 0xFF; + configPcf.password[3] = 0xFF; + configPcf.password[4] = 0xFF; + configPcf.password[5] = 0xFF; + configPcf.password[6] = 0xFF; configPcf.init_delay = 17500; configPcf.offset[0] = -10;