rename ui8LastCommand by lastCommand.

This commit is contained in:
Audrey Diacre 2012-01-06 09:20:55 +00:00
parent 3b8598dde8
commit b41edfb0b4
5 changed files with 8 additions and 8 deletions

View file

@ -139,7 +139,7 @@ pn53x_transceive (struct nfc_device *pnd, const uint8_t *pbtTx, const size_t szT
}
// Command is sent, we store the command
CHIP_DATA (pnd)->ui8LastCommand = pbtTx[0];
CHIP_DATA (pnd)->lastCommand = pbtTx[0];
// Handle power mode for PN532
if ((CHIP_DATA (pnd)->type == PN532) && (TgInitAsTarget == pbtTx[0])) { // PN532 automatically goes into PowerDown mode when TgInitAsTarget command will be sent

View file

@ -153,7 +153,7 @@ struct pn53x_data {
/** Register cache for SetParameters function. */
uint8_t ui8Parameters;
/** Last sent command */
uint8_t ui8LastCommand;
uint8_t lastCommand;
/** Interframe timer correction */
int16_t timer_correction;
/** Timer prescaler */