diff options
Diffstat (limited to 'Demos/Device/ClassDriver/CCID/Lib')
-rw-r--r-- | Demos/Device/ClassDriver/CCID/Lib/Iso7816.c | 4 | ||||
-rw-r--r-- | Demos/Device/ClassDriver/CCID/Lib/Iso7816.h | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/Demos/Device/ClassDriver/CCID/Lib/Iso7816.c b/Demos/Device/ClassDriver/CCID/Lib/Iso7816.c index 1f9391d72..ec6e1f323 100644 --- a/Demos/Device/ClassDriver/CCID/Lib/Iso7816.c +++ b/Demos/Device/ClassDriver/CCID/Lib/Iso7816.c @@ -31,7 +31,9 @@ #include "Iso7816.h" -void Iso7816_CreateSimpleAtr(uint8_t* attr, uint8_t* attrLength) + +void Iso7816_CreateSimpleAtr(uint8_t* const attr, + uint8_t* const attrLength) { attr[0] = 0x3B; //TS: direct convention diff --git a/Demos/Device/ClassDriver/CCID/Lib/Iso7816.h b/Demos/Device/ClassDriver/CCID/Lib/Iso7816.h index f5fc1d70a..2a5570629 100644 --- a/Demos/Device/ClassDriver/CCID/Lib/Iso7816.h +++ b/Demos/Device/ClassDriver/CCID/Lib/Iso7816.h @@ -36,7 +36,9 @@ #include <avr/power.h> #include <avr/interrupt.h> #include <stdlib.h> + #include <string.h> /* Function Prototypes: */ - void Iso7816_CreateSimpleAtr(uint8_t* attr, uint8_t* attrLength); + void Iso7816_CreateSimpleAtr(uint8_t* const attr, + uint8_t* const attrLength); #endif |