From 306e51fa72e3e00d18ad1b3e636c006dce6f7fb9 Mon Sep 17 00:00:00 2001 From: Romain Tartiere Date: Sat, 28 Aug 2010 14:40:29 +0000 Subject: [PATCH] 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. --- test/test_register_endianness.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/test/test_register_endianness.c b/test/test_register_endianness.c index 5c4665b..6cae3e5 100644 --- a/test/test_register_endianness.c +++ b/test/test_register_endianness.c @@ -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); }