Merge pull request #44 from mdxs/fix_typos
Fixed various typos and whitespace layout issues
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
* MFRC522.cpp - Library to use ARDUINO RFID MODULE KIT 13.56 MHZ WITH TAGS SPI W AND R BY COOQROBOT.
|
||||
* _Please_ see the comments in MFRC522.h - they give useful hints and background.
|
||||
* NOTE: Please also check the comments in MFRC522.h - they provide useful hints and background information.
|
||||
* Released into the public domain.
|
||||
*/
|
||||
|
||||
@@ -233,7 +233,7 @@ void MFRC522::PCD_Reset() {
|
||||
|
||||
/**
|
||||
* Turns the antenna on by enabling pins TX1 and TX2.
|
||||
* After a reset these pins disabled.
|
||||
* After a reset these pins are disabled.
|
||||
*/
|
||||
void MFRC522::PCD_AntennaOn() {
|
||||
byte value = PCD_ReadRegister(TxControlReg);
|
||||
@@ -265,7 +265,7 @@ byte MFRC522::PCD_TransceiveData( byte *sendData, ///< Pointer to the data to t
|
||||
} // End PCD_TransceiveData()
|
||||
|
||||
/**
|
||||
* Transfers data to the MFRC522 FIFO, executes a commend, waits for completion and transfers data back from the FIFO.
|
||||
* Transfers data to the MFRC522 FIFO, executes a command, waits for completion and transfers data back from the FIFO.
|
||||
* CRC validation can only be done if backData and backLen are specified.
|
||||
*
|
||||
* @return STATUS_OK on success, STATUS_??? otherwise.
|
||||
@@ -541,7 +541,7 @@ byte MFRC522::PICC_Select( Uid *uid, ///< Pointer to Uid struct. Normally outp
|
||||
if (currentLevelKnownBits >= 32) { // All UID bits in this Cascade Level are known. This is a SELECT.
|
||||
//Serial.print("SELECT: currentLevelKnownBits="); Serial.println(currentLevelKnownBits, DEC);
|
||||
buffer[1] = 0x70; // NVB - Number of Valid Bits: Seven whole bytes
|
||||
// Calulate BCC - Block Check Character
|
||||
// Calculate BCC - Block Check Character
|
||||
buffer[6] = buffer[2] ^ buffer[3] ^ buffer[4] ^ buffer[5];
|
||||
// Calculate CRC_A
|
||||
result = PCD_CalculateCRC(buffer, 7, &buffer[7]);
|
||||
|
||||
@@ -155,7 +155,7 @@ public:
|
||||
// 0x3F // reserved for production tests
|
||||
};
|
||||
|
||||
// MFRC522 comands. Described in chapter 10 of the datasheet.
|
||||
// MFRC522 commands. Described in chapter 10 of the datasheet.
|
||||
enum PCD_Command {
|
||||
PCD_Idle = 0x00, // no action, cancels current command execution
|
||||
PCD_Mem = 0x01, // stores 25 bytes into the internal buffer
|
||||
|
||||
Reference in New Issue
Block a user