summaryrefslogtreecommitdiff
path: root/openpicc
diff options
context:
space:
mode:
Diffstat (limited to 'openpicc')
-rw-r--r--openpicc/application/iso14443a_pretender.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/openpicc/application/iso14443a_pretender.c b/openpicc/application/iso14443a_pretender.c
index a344fdb..0ecaaac 100644
--- a/openpicc/application/iso14443a_pretender.c
+++ b/openpicc/application/iso14443a_pretender.c
@@ -300,7 +300,9 @@ prefill_failed:
do {
res = iso14443_layer2a_init(1);
if(res < 0) {
- usb_print_string("Pretender: Initialization failed\n\r");
+ usb_print_string("Pretender: Initialization failed: -");
+ DumpUIntToUSB(-res);
+ usb_print_string("\n\r");
for(i=0; i<=10000; i++) {
vLedSetBrightness(LED_RED, abs(1000-(i%2000)));
vTaskDelay(1*portTICK_RATE_MS);
personal git repositories of Harald Welte. Your mileage may vary