pn53x_idle() returns now 0 on success and libnfc error code on failure.

This commit is contained in:
Audrey Diacre
2012-01-04 16:26:57 +00:00
parent 7e1c776bc1
commit 4b373263e4
3 changed files with 17 additions and 16 deletions

View File

@@ -152,7 +152,7 @@ struct nfc_driver_t {
int (*device_set_property_int) (struct nfc_device *pnd, const nfc_property property, const int value);
bool (*abort_command) (struct nfc_device *pnd);
bool (*idle) (struct nfc_device *pnd);
int (*idle) (struct nfc_device *pnd);
};
# define DEVICE_NAME_LENGTH 256