Fix bug in at91 lib

A value of 0x3 is defined as smartcard inserted event, which is not a
valid value for a SlotChange response.
This commit is contained in:
Christina Quast
2015-01-09 12:28:47 +01:00
parent a58aa18ffd
commit 405cc03348

View File

@@ -125,7 +125,8 @@
#define ICC_NOT_PRESENT 0x00
#define ICC_PRESENT 0x01
#define ICC_CHANGE 0x02
#define ICC_INSERTED_EVENT ICC_PRESENT+ICC_CHANGE
#define ICC_INSERTED_EVENT 0x01
//FIXME: #define ICC_INSERTED_EVENT ICC_PRESENT+ICC_CHANGE
// ICCD: Table 6.1-8 Bitmap for bStatus field
#define ICC_BS_PRESENT_ACTIVATED 0x00 // USB-ICC is present and activated