Reduce scope of a number of globals:

APDUInFramingEnable atsFSC uid_label_map apdu_in_framing_enable uidmapping KENC_type KMAC_type jpeg_header jpeg2k_header *card_types card_app2_limit iclass_config_types jooks jooks_figures nfc_secret desdefaultkeys aesdefaultkeys k3kdefaultkeys CardAddresses default_3des_keys default_pwd_pack UL_TYPES_ARRAY UL_MEMORY_ARRAY fdxbCountryMapping translateTable invTranslateTable preamble paradox_lut pcf7931_config config DiArray FiArray FArray crc64_table signalprop
This commit is contained in:
Philippe Teuwen committed 2021-08-21 19:56:07 +02:00
1 parent b209b63a73
commit d88c98a786
17 files changed
+43 -43

No files matched your search

+3 -3
View File
@@ -68,7 +68,7 @@ static uint8_t GetATRTA1(uint8_t *atr, size_t atrlen) {
return 0x11; // default value is 0x11, corresponding to fmax=5 MHz, Fi=372, Di=1.
}
int DiArray[] = {
static int DiArray[] = {
0, // b0000 RFU
1, // b0001
2,
@@ -87,7 +87,7 @@ int DiArray[] = {
0 // b1111 RFU
};
int FiArray[] = {
static int FiArray[] = {
372, // b0000 Historical note: in ISO/IEC 7816-3:1989, this was assigned to cards with internal clock
372, // b0001
558, // b0010
@@ -106,7 +106,7 @@ int FiArray[] = {
0 // b1111 RFU
};
float FArray[] = {
static float FArray[] = {
4, // b0000 Historical note: in ISO/IEC 7816-3:1989, this was assigned to cards with internal clock
5, // b0001
6, // b0010