[Pcsclite-git-commit] [CCID] 03/03: PowerOn: default value comes from Info.plist
Ludovic Rousseau
rousseau at moszumanska.debian.org
Tue Oct 4 15:35:11 UTC 2016
This is an automated email from the git hooks/post-receive script.
rousseau pushed a commit to branch master
in repository CCID.
commit 097436681d554999d125b9fe56bb4a5194a36f92
Author: Ludovic Rousseau <ludovic.rousseau at free.fr>
Date: Tue Oct 4 15:29:56 2016 +0200
PowerOn: default value comes from Info.plist
The value set in ifdhandler.c is always overwritten by the value
extracted from the Info.plist file in init_driver().
The change in ea7bedd2b3d30a884f43544c44f87ef779f011ef was useless and
had no effect.
Since the default value of ifdDriverOptions for voltage selection is
0x00 the first voltage used is 5V.
---
src/ifdhandler.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/ifdhandler.c b/src/ifdhandler.c
index c36f10f..0db60ef 100644
--- a/src/ifdhandler.c
+++ b/src/ifdhandler.c
@@ -65,7 +65,7 @@ static pthread_mutex_t ifdh_context_mutex = PTHREAD_MUTEX_INITIALIZER;
int LogLevel = DEBUG_LEVEL_CRITICAL | DEBUG_LEVEL_INFO;
int DriverOptions = 0;
-int PowerOnVoltage = VOLTAGE_1_8V;
+int PowerOnVoltage = -1;
static int DebugInitialized = FALSE;
/* local functions */
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pcsclite/CCID.git
More information about the Pcsclite-cvs-commit
mailing list