Add script reading bootloader flags
[pub/lufa.git] / Demos / Device / LowLevel / CCID / Descriptors.c
index c82216c..51e7242 100644 (file)
@@ -1,14 +1,14 @@
 /*
              LUFA Library
 /*
              LUFA Library
-     Copyright (C) Dean Camera, 2018.
+     Copyright (C) Dean Camera, 2021.
 
   dean [at] fourwalledcubicle [dot] com
            www.lufa-lib.org
 */
 
 /*
 
   dean [at] fourwalledcubicle [dot] com
            www.lufa-lib.org
 */
 
 /*
-  Copyright 2018  Dean Camera (dean [at] fourwalledcubicle [dot] com)
-  Copyright 2018  Filipe Rodrigues (filipepazrodrigues [at] gmail [dot] com)
+  Copyright 2021  Dean Camera (dean [at] fourwalledcubicle [dot] com)
+  Copyright 2021  Filipe Rodrigues (filipepazrodrigues [at] gmail [dot] com)
 
   Permission to use, copy, modify, distribute, and sell this
   software and its documentation for any purpose is hereby granted
 
   Permission to use, copy, modify, distribute, and sell this
   software and its documentation for any purpose is hereby granted
@@ -119,8 +119,8 @@ const USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor =
                        .MaxIFSD                                = 2038,
                        .SynchProtocols                 = 0,
                        .Mechanical                             = 0,
                        .MaxIFSD                                = 2038,
                        .SynchProtocols                 = 0,
                        .Mechanical                             = 0,
-                       .Features                               = 0x0400fe,
-                       .MaxCCIDMessageLength   = 0x0c00,
+                       .Features                               = CCID_Features_ExchangeLevel_ShortAPDU | CCID_Features_Auto_ParameterConfiguration| CCID_Features_Auto_ICCActivation | CCID_Features_Auto_VoltageSelection,
+                       .MaxCCIDMessageLength   = CCID_EPSIZE,
                        .ClassGetResponse               = 0xff,
                        .ClassEnvelope                  = 0xff,
                        .LcdLayout                              = 0,
                        .ClassGetResponse               = 0xff,
                        .ClassEnvelope                  = 0xff,
                        .LcdLayout                              = 0,