From 8a5b580a72d5a1f3f46752977a47126fa0610265 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Sat, 7 Nov 2015 18:52:52 +0100 Subject: [PATCH] CCID usb descriptor: We support 3V only, not 5V. --- firmware/src_simtrace/usb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/firmware/src_simtrace/usb.c b/firmware/src_simtrace/usb.c index 7cd4febd..a13c2de5 100644 --- a/firmware/src_simtrace/usb.c +++ b/firmware/src_simtrace/usb.c @@ -284,7 +284,7 @@ static const CCIDDriverConfigurationDescriptors configurationDescriptorCCID = { CCID_DECRIPTOR_TYPE, // bDescriptorType:Functional descriptor type CCID1_10, // bcdCCID: CCID version 0, // bMaxSlotIndex: Value 0 indicates that one slot is supported - VOLTS_5_0, // bVoltageSupport + VOLTS_3_0, // bVoltageSupport (1 << PROTOCOL_TO), // dwProtocols 3580, // dwDefaultClock 3580, // dwMaxClock @@ -460,7 +460,7 @@ static const SIMTraceDriverConfigurationDescriptorMITM configurationDescriptorMI CCID_DECRIPTOR_TYPE, // bDescriptorType:Functional descriptor type CCID1_10, // bcdCCID: CCID version 0, // bMaxSlotIndex: Value 0 indicates that one slot is supported - VOLTS_5_0, // bVoltageSupport + VOLTS_3_0, // bVoltageSupport (1 << PROTOCOL_TO), // dwProtocols 3580, // dwDefaultClock 3580, // dwMaxClock