Fix minor compilation warnings
This commit is contained in:
parent
5b0589c381
commit
6a6ae42a97
2 changed files with 2 additions and 2 deletions
|
@ -113,7 +113,7 @@ arygon_list_devices(nfc_device_desc_t pnddDevices[], size_t szDevices, size_t *p
|
|||
const char* pcPort;
|
||||
int iDevice = 0;
|
||||
|
||||
while( pcPort = pcPorts[iDevice++] ) {
|
||||
while( (pcPort = pcPorts[iDevice++]) ) {
|
||||
sp = uart_open(pcPort);
|
||||
DBG("Trying to find ARYGON device on serial port: %s at %d bauds.", pcPort, SERIAL_DEFAULT_PORT_SPEED);
|
||||
|
||||
|
|
|
@ -88,7 +88,7 @@ pn532_uart_list_devices(nfc_device_desc_t pnddDevices[], size_t szDevices, size_
|
|||
const char* pcPort;
|
||||
int iDevice = 0;
|
||||
|
||||
while( pcPort = pcPorts[iDevice++] ) {
|
||||
while( (pcPort = pcPorts[iDevice++]) ) {
|
||||
sp = uart_open(pcPort);
|
||||
DBG("Trying to find PN532 device on serial port: %s at %d bauds.", pcPort, SERIAL_DEFAULT_PORT_SPEED);
|
||||
|
||||
|
|
Loading…
Reference in a new issue