From 8a62a843ac661edb695e827dc8674557bd862646 Mon Sep 17 00:00:00 2001 From: Romain Tartiere Date: Tue, 23 Feb 2010 14:22:23 +0000 Subject: [PATCH] Fix the test_mifare_classic_format unit test. --- test/test_mifare_classic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test_mifare_classic.c b/test/test_mifare_classic.c index aa17719..1c7c596 100644 --- a/test/test_mifare_classic.c +++ b/test/test_mifare_classic.c @@ -151,7 +151,7 @@ test_mifare_classic_format (void) res = mifare_classic_write (tag, 0x3e, data); cut_assert_equal_int (0, res, cut_message ("mifare_classic_write() failed")); - res = mifare_classic_format_sector (tag, 0x0f); + res = mifare_classic_format_sector (tag, 0x3c); cut_assert_equal_int (0, res, cut_message ("mifare_classic_format_sector() failed")); res = mifare_classic_read (tag, 0x3c, &data);