typos
This commit is contained in:
1 parent
c07b9f740d
commit
917be92afc
4 files changed
+6
-6
No files matched your search
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
@@ -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) {
|
||||
|
||||
@@ -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),
|
||||
|
||||
Reference in new issue
Block a user