mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-14 02:27:26 -07:00
typos
This commit is contained in:
parent
c07b9f740d
commit
917be92afc
4 changed files with 6 additions and 6 deletions
|
@ -1117,7 +1117,7 @@ static int CmdHF14AMfRdSc(const char *Cmd) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (s >= MIFARE_4K_MAXSECTOR) {
|
if (s >= MIFARE_4K_MAXSECTOR) {
|
||||||
PrintAndLogEx(WARNING, "Sector number must be less then 40");
|
PrintAndLogEx(WARNING, "Sector number must be less than 40");
|
||||||
return PM3_EINVARG;
|
return PM3_EINVARG;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -4492,7 +4492,7 @@ static int CmdHF14AMfEGetSc(const char *Cmd) {
|
||||||
CLIParserFree(ctx);
|
CLIParserFree(ctx);
|
||||||
|
|
||||||
if (s >= MIFARE_4K_MAXSECTOR) {
|
if (s >= MIFARE_4K_MAXSECTOR) {
|
||||||
PrintAndLogEx(WARNING, "Sector number must be less then 40");
|
PrintAndLogEx(WARNING, "Sector number must be less than 40");
|
||||||
return PM3_EINVARG;
|
return PM3_EINVARG;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -5556,7 +5556,7 @@ static int CmdHF14AMfCGetSc(const char *Cmd) {
|
||||||
CLIParserFree(ctx);
|
CLIParserFree(ctx);
|
||||||
|
|
||||||
if (s >= MIFARE_4K_MAXSECTOR) {
|
if (s >= MIFARE_4K_MAXSECTOR) {
|
||||||
PrintAndLogEx(WARNING, "Sector number must be less then 40");
|
PrintAndLogEx(WARNING, "Sector number must be less than 40");
|
||||||
return PM3_EINVARG;
|
return PM3_EINVARG;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -4266,7 +4266,7 @@ static int CmdT55xxProtect(const char *Cmd) {
|
||||||
return PM3_SUCCESS;
|
return PM3_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
// if the difference between a and b is less then or eq to d i.e. does a = b +/- d
|
// if the difference between a and b is less than or eq to d i.e. does a = b +/- d
|
||||||
#define APPROX_EQ(a, b, d) ((abs(a - b) <= d) ? true : false)
|
#define APPROX_EQ(a, b, d) ((abs(a - b) <= d) ? true : false)
|
||||||
|
|
||||||
static uint8_t t55sniff_get_packet(const int *pulseBuffer, char *data, uint8_t width0, uint8_t width1, uint8_t tolerance) {
|
static uint8_t t55sniff_get_packet(const int *pulseBuffer, char *data, uint8_t width0, uint8_t width1, uint8_t tolerance) {
|
||||||
|
|
|
@ -146,7 +146,7 @@ static uint16_t extractChallenges(uint16_t tracepos, uint16_t traceLen, uint8_t
|
||||||
uint16_t data_len = hdr->data_len;
|
uint16_t data_len = hdr->data_len;
|
||||||
uint8_t *frame = hdr->frame;
|
uint8_t *frame = hdr->frame;
|
||||||
|
|
||||||
// sanity check tracking position is less then available trace size
|
// sanity check tracking position is less than available trace size
|
||||||
if (tracepos + TRACELOG_HDR_LEN + data_len + TRACELOG_PARITY_LEN(hdr) > traceLen) {
|
if (tracepos + TRACELOG_HDR_LEN + data_len + TRACELOG_PARITY_LEN(hdr) > traceLen) {
|
||||||
PrintAndLogEx(DEBUG, "trace pos offset %"PRIu64 " larger than reported tracelen %u",
|
PrintAndLogEx(DEBUG, "trace pos offset %"PRIu64 " larger than reported tracelen %u",
|
||||||
tracepos + TRACELOG_HDR_LEN + data_len + TRACELOG_PARITY_LEN(hdr),
|
tracepos + TRACELOG_HDR_LEN + data_len + TRACELOG_PARITY_LEN(hdr),
|
||||||
|
|
|
@ -50,7 +50,7 @@ Result
|
||||||
### Step 2 Create the Compatibility Container file (CC File)
|
### Step 2 Create the Compatibility Container file (CC File)
|
||||||
|
|
||||||
The CC File is a standard file to store the needed NDEF information to find your NDEF records. This example will contrain the setup for a single NDEF record.
|
The CC File is a standard file to store the needed NDEF information to find your NDEF records. This example will contrain the setup for a single NDEF record.
|
||||||
Note: You can define more then one NDEF data file if needed (not covered in this example)
|
Note: You can define more than one NDEF data file if needed (not covered in this example)
|
||||||
|
|
||||||
Type : Standard data file
|
Type : Standard data file
|
||||||
FID : 01 <- File ID can be any uniqure File ID for this AID
|
FID : 01 <- File ID can be any uniqure File ID for this AID
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue