Changeset 486
- Timestamp:
- 11/02/09 18:59:23 (14 years ago)
- Location:
- branches/merlin
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/merlin/include/globals.h
r438 r486 314 314 int detect; 315 315 unsigned long frequency; 316 unsigned long card_frequency; 316 317 317 318 int online; -
branches/merlin/src/config.c
r421 r486 1074 1074 } 1075 1075 } 1076 if (!strcmp(token, "card_frequency")) { 1077 char *endptr; 1078 double mhz = strtod(value, &endptr); 1079 if (*endptr == '\0') { 1080 rdr->card_frequency = mhz * 1000000; 1081 } 1082 } 1076 1083 if (!strcmp(token, "protocol")) { 1077 1084 if (!strcmp(value, "phoenix")) … … 1175 1182 reader[nr].maxqlen = CS_MAXQLEN; 1176 1183 reader[nr].frequency = 3571200; 1184 reader[nr].card_frequency = 3571200; 1177 1185 strcpy(reader[nr].pincode, "none"); 1178 1186 for (i = 1; i < CS_MAXCAIDTAB; reader[nr].ctab.mask[i++] = 0xffff);
Note:
See TracChangeset
for help on using the changeset viewer.