Disable baudrate setting for RC522 for now

This commit is contained in:
Marcos Vives Del Sol 2015-06-17 22:14:42 +02:00
parent 94b2ddab04
commit 2823a0e276

View File

@ -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