make style
This commit is contained in:
parent
1b11450312
commit
238be3f068
3 changed files with 31 additions and 31 deletions
|
|
@ -66,8 +66,7 @@ const char *i2c_ports_device_radix[] =
|
||||||
# endif
|
# endif
|
||||||
|
|
||||||
|
|
||||||
struct i2c_device
|
struct i2c_device {
|
||||||
{
|
|
||||||
int fd; // I2C device file descriptor
|
int fd; // I2C device file descriptor
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -512,7 +512,8 @@ static int
|
||||||
pn532_i2c_abort_command(nfc_device *pnd)
|
pn532_i2c_abort_command(nfc_device *pnd)
|
||||||
{
|
{
|
||||||
if (pnd) {
|
if (pnd) {
|
||||||
DRIVER_DATA(pnd)->abort_flag = true; }
|
DRIVER_DATA(pnd)->abort_flag = true;
|
||||||
|
}
|
||||||
return NFC_SUCCESS;
|
return NFC_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue