pn53x: factorize & generalize CHIP_DATA() usage
This commit is contained in:
parent
7314b7d598
commit
5600007dd3
6 changed files with 20 additions and 24 deletions
|
|
@ -133,6 +133,8 @@ struct pn53x_data {
|
|||
uint8_t ui8LastCommand;
|
||||
};
|
||||
|
||||
#define CHIP_DATA(pnd) ((struct pn53x_data*)(pnd->chip_data))
|
||||
|
||||
/* PN53x specific types */
|
||||
/**
|
||||
* @enum pn53x_modulation_t
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue