From 2823a0e276dc9652a28711a0db65fb988350ae6a Mon Sep 17 00:00:00 2001 From: Marcos Vives Del Sol Date: Wed, 17 Jun 2015 22:14:42 +0200 Subject: [PATCH] Disable baudrate setting for RC522 for now --- libnfc/drivers/rc522_uart.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libnfc/drivers/rc522_uart.c b/libnfc/drivers/rc522_uart.c index e9ceed5..0085db9 100644 --- a/libnfc/drivers/rc522_uart.c +++ b/libnfc/drivers/rc522_uart.c @@ -180,10 +180,12 @@ int rc522_uart_create(const nfc_context * context, const nfc_connstring connstri } // Change now the baud rate + /* TODO - Check why this doesn't work on my FM17522 and try it with a real MFRC522 if ((ret = rc522_uart_change_baudrate(pnd, userBaudRate)) < 0) { rc522_uart_close(pnd); return ret; } + */ // Now the device is awake and listening at a known baudrate, execute a selftest // Note that some devices (FM17522 for instance) aren't able to run it