Code cleanup: remove many debug prints, enhance comments and documentation.

This commit is contained in:
Romuald Conty 2010-07-30 11:30:19 +00:00
parent 18e6e1bc7c
commit 5ac580a241
5 changed files with 25 additions and 33 deletions

View file

@ -161,7 +161,7 @@ nfc_device_t* pn532_uart_connect(const nfc_device_desc_t* pndd)
DBG("%s", "pn532_uart_connect() need an nfc_device_desc_t struct.");
return NULL;
} else {
DBG("Connecting to: %s at %d bauds.",pndd->pcPort, pndd->uiSpeed);
DBG("Attempt to connect to: %s at %d bauds.",pndd->pcPort, pndd->uiSpeed);
sp = uart_open(pndd->pcPort);
if (sp == INVALID_SERIAL_PORT) ERR("Invalid serial port: %s",pndd->pcPort);