mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 22:03:42 -07:00
fixed simple compilation errors
This commit is contained in:
parent
a1f7602592
commit
9c263b3fb8
1 changed files with 6 additions and 6 deletions
|
@ -461,8 +461,8 @@ static void print_write_result(PacketResponseNG *resp, const em4x50_data_t *etd)
|
||||||
char string[NO_CHARS_MAX] = {0}, pstring[NO_CHARS_MAX] = {0};
|
char string[NO_CHARS_MAX] = {0}, pstring[NO_CHARS_MAX] = {0};
|
||||||
em4x50_word_t words[EM4X50_NO_WORDS];
|
em4x50_word_t words[EM4X50_NO_WORDS];
|
||||||
|
|
||||||
prepare_result(data, etd->address, etd->address, &word);
|
prepare_result(data, etd->address, etd->address, words);
|
||||||
print_result(&word, etd->address, etd->address, true);
|
print_result(words, etd->address, etd->address, true);
|
||||||
|
|
||||||
sprintf(pstring, "\n writing " _GREEN_("ok "));
|
sprintf(pstring, "\n writing " _GREEN_("ok "));
|
||||||
strcat(string, pstring);
|
strcat(string, pstring);
|
||||||
|
@ -660,8 +660,8 @@ static void print_read_result(PacketResponseNG *resp, const em4x50_data_t *etd,
|
||||||
|
|
||||||
// selective read mode
|
// selective read mode
|
||||||
|
|
||||||
prepare_result(data, etd->address, etd->address, &word);
|
prepare_result(data, etd->address, etd->address, words);
|
||||||
print_result(&word, etd->address, etd->address, true);
|
print_result(words, etd->address, etd->address, true);
|
||||||
|
|
||||||
string[0] = '\0';
|
string[0] = '\0';
|
||||||
sprintf(pstring, "\n reading " _GREEN_("ok "));
|
sprintf(pstring, "\n reading " _GREEN_("ok "));
|
||||||
|
@ -688,8 +688,8 @@ static void print_read_result(PacketResponseNG *resp, const em4x50_data_t *etd,
|
||||||
|
|
||||||
//standard read mode
|
//standard read mode
|
||||||
|
|
||||||
prepare_result(data, 0, now - 1, &word);
|
prepare_result(data, 0, now - 1, words);
|
||||||
print_result(&word, 0, now - 1, verbose);
|
print_result(words, 0, now - 1, verbose);
|
||||||
|
|
||||||
if (verbose) {
|
if (verbose) {
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue