Improve naming consistency.
Ensure all MIFARE related names and structures start with "mifare_" or "MIFARE_".
This commit is contained in:
parent
faac4ae5d8
commit
1ce3db3ca6
26 changed files with 178 additions and 174 deletions
|
|
@ -50,8 +50,8 @@ cut_setup (void)
|
|||
|
||||
tag = NULL;
|
||||
for (int i=0; tags[i]; i++) {
|
||||
if ((freefare_get_tag_type(tags[i]) == CLASSIC_1K) ||
|
||||
(freefare_get_tag_type(tags[i]) == CLASSIC_4K)) {
|
||||
if ((freefare_get_tag_type(tags[i]) == MIFARE_CLASSIC_1K) ||
|
||||
(freefare_get_tag_type(tags[i]) == MIFARE_CLASSIC_4K)) {
|
||||
tag = tags[i];
|
||||
res = mifare_classic_connect (tag);
|
||||
cut_assert_equal_int (0, res, cut_message ("mifare_classic_connect() failed"));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue