pn53x: factorize timer code
This commit is contained in:
parent
11668f1143
commit
ffe2714b28
6 changed files with 70 additions and 100 deletions
|
|
@ -157,10 +157,8 @@ struct pn53x_data {
|
|||
uint8_t ui8Parameters;
|
||||
/** Last sent command */
|
||||
uint8_t ui8LastCommand;
|
||||
/** Interframe correction for commands ending with logic "1" */
|
||||
int16_t timer_correction_yy;
|
||||
/** Interframe correction for commands ending with logic "0" */
|
||||
int16_t timer_correction_zy;
|
||||
/** Interframe timer correction */
|
||||
int16_t timer_correction;
|
||||
};
|
||||
|
||||
#define CHIP_DATA(pnd) ((struct pn53x_data*)(pnd->chip_data))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue