Remove useless nfc_perror lines from tests.
The endianness problem spoken about in r586 does not exist since the value in pn53x_get_reg() is in a register so keep the ugly boolean operations to copy the value: using all endianness conversions macros is a PITA.
This commit is contained in:
parent
1130036bf3
commit
306e51fa72
1 changed files with 0 additions and 2 deletions
|
@ -28,12 +28,10 @@ test_register_endianness (void)
|
|||
/* Read valid XRAM memory */
|
||||
res = pn53x_get_reg (device, 0xF0FF, &value);
|
||||
cut_assert_true (res, cut_message ("read register 0xF0FF"));
|
||||
nfc_perror (device, "get");
|
||||
|
||||
/* Read invalid SFR register */
|
||||
res = pn53x_get_reg (device, 0xFFF0, &value);
|
||||
cut_assert_false (res, cut_message ("read register 0xFFF0"));
|
||||
nfc_perror (device, "get");
|
||||
|
||||
nfc_disconnect (device);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue