pn53x: factorize timer code

This commit is contained in:
Philippe Teuwen 2011-04-04 19:04:43 +00:00
parent 11668f1143
commit ffe2714b28
6 changed files with 70 additions and 100 deletions

View file

@ -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))