Disable baudrate setting for RC522 for now
This commit is contained in:
parent
94b2ddab04
commit
2823a0e276
@ -180,10 +180,12 @@ int rc522_uart_create(const nfc_context * context, const nfc_connstring connstri
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Change now the baud rate
|
// 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) {
|
if ((ret = rc522_uart_change_baudrate(pnd, userBaudRate)) < 0) {
|
||||||
rc522_uart_close(pnd);
|
rc522_uart_close(pnd);
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
// Now the device is awake and listening at a known baudrate, execute a selftest
|
// 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
|
// Note that some devices (FM17522 for instance) aren't able to run it
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user