diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2018-06-24 16:41:58 +1000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2018-06-24 16:41:58 +1000 |
commit | bc57f4ea5afd29f2e0f0175d14cf1540b4408de8 (patch) | |
tree | 1d393db9904884112e42b80017a04a777449b80f /Demos/Device/LowLevel/CCID/Lib | |
parent | 8e590e6cb3013ab3e317e219031b326df16fb6dc (diff) | |
download | lufa-bc57f4ea5afd29f2e0f0175d14cf1540b4408de8.tar.gz lufa-bc57f4ea5afd29f2e0f0175d14cf1540b4408de8.tar.bz2 lufa-bc57f4ea5afd29f2e0f0175d14cf1540b4408de8.zip |
Reformatting and add const qualifiers.
Diffstat (limited to 'Demos/Device/LowLevel/CCID/Lib')
-rw-r--r-- | Demos/Device/LowLevel/CCID/Lib/Iso7816.c | 3 | ||||
-rw-r--r-- | Demos/Device/LowLevel/CCID/Lib/Iso7816.h | 4 |
2 files changed, 5 insertions, 2 deletions
diff --git a/Demos/Device/LowLevel/CCID/Lib/Iso7816.c b/Demos/Device/LowLevel/CCID/Lib/Iso7816.c index 0c2e5e8b0..138c5b65f 100644 --- a/Demos/Device/LowLevel/CCID/Lib/Iso7816.c +++ b/Demos/Device/LowLevel/CCID/Lib/Iso7816.c @@ -31,7 +31,8 @@ #include "Iso7816.h" -void Iso7816_CreateSimpleAtr(uint8_t* atr, uint8_t* atrLength) +void Iso7816_CreateSimpleAtr(uint8_t* const atr, + uint8_t* const atrLength) { atr[0] = 0x3B; // TS: direct convention diff --git a/Demos/Device/LowLevel/CCID/Lib/Iso7816.h b/Demos/Device/LowLevel/CCID/Lib/Iso7816.h index aa5f4ba83..f73309d90 100644 --- a/Demos/Device/LowLevel/CCID/Lib/Iso7816.h +++ b/Demos/Device/LowLevel/CCID/Lib/Iso7816.h @@ -38,8 +38,10 @@ #include <avr/power.h> #include <avr/interrupt.h> #include <stdlib.h> + #include <string.h> /* Function Prototypes: */ - void Iso7816_CreateSimpleAtr(uint8_t* atr, uint8_t* atrLength); + void Iso7816_CreateSimpleAtr(uint8_t* const atr, + uint8_t* const atrLength); #endif |