This commit is contained in:
Philippe Teuwen 2025-01-05 14:27:14 +01:00
parent c07b9f740d
commit 917be92afc
4 changed files with 6 additions and 6 deletions

View file

@ -1117,7 +1117,7 @@ static int CmdHF14AMfRdSc(const char *Cmd) {
}
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;
}
@ -4492,7 +4492,7 @@ static int CmdHF14AMfEGetSc(const char *Cmd) {
CLIParserFree(ctx);
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;
}
@ -5556,7 +5556,7 @@ static int CmdHF14AMfCGetSc(const char *Cmd) {
CLIParserFree(ctx);
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;
}

View file

@ -4266,7 +4266,7 @@ static int CmdT55xxProtect(const char *Cmd) {
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)
static uint8_t t55sniff_get_packet(const int *pulseBuffer, char *data, uint8_t width0, uint8_t width1, uint8_t tolerance) {

View file

@ -146,7 +146,7 @@ static uint16_t extractChallenges(uint16_t tracepos, uint16_t traceLen, uint8_t
uint16_t data_len = hdr->data_len;
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) {
PrintAndLogEx(DEBUG, "trace pos offset %"PRIu64 " larger than reported tracelen %u",
tracepos + TRACELOG_HDR_LEN + data_len + TRACELOG_PARITY_LEN(hdr),

View file

@ -50,7 +50,7 @@ Result
### 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.
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
FID : 01 <- File ID can be any uniqure File ID for this AID