rename lastCommand by last_command.

This commit is contained in:
Audrey Diacre 2012-01-06 13:07:37 +00:00
parent 48e92149e4
commit e15f2eedbb
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)->lastCommand = pbtTx[0];
CHIP_DATA (pnd)->last_command = 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