ARYGON driver works again and PN532_UART improved :)

drivers/pn532_uart: code clean up
chips/pn53x: new fonction to build frames
drivers/arygon: use the new way to drive UART (its far more stable)
This commit is contained in:
Romuald Conty 2011-03-04 09:28:25 +00:00
parent 7ec1080e16
commit f81138b3c7
8 changed files with 268 additions and 263 deletions

View file

@ -217,7 +217,6 @@ static const struct timeval tvTimeout = {
int
uart_receive (serial_port sp, byte_t * pbtRx, const size_t szRx)
{
struct timeval tv = tvTimeout;
int received_bytes_count = 0;
int available_bytes_count = 0;