mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-19 21:03:48 -07:00
whitespace
This commit is contained in:
parent
5d503fc5d3
commit
fa2031c97a
1 changed files with 3 additions and 3 deletions
|
@ -532,7 +532,7 @@ int ASKDemod_ext(const char *Cmd, bool verbose, bool emSearch, uint8_t askType,
|
||||||
invert = 1;
|
invert = 1;
|
||||||
clk = 0;
|
clk = 0;
|
||||||
}
|
}
|
||||||
uint8_t *bits = calloc(MAX_GRAPH_TRACE_LEN, sizeof(uint8_t));
|
uint8_t *bits = calloc(MAX_GRAPH_TRACE_LEN, sizeof(uint8_t));
|
||||||
if (bits == NULL) {
|
if (bits == NULL) {
|
||||||
return PM3_EMALLOC;
|
return PM3_EMALLOC;
|
||||||
}
|
}
|
||||||
|
@ -1119,13 +1119,13 @@ int FSKrawDemod(const char *Cmd, bool verbose) {
|
||||||
if (bits == NULL) {
|
if (bits == NULL) {
|
||||||
return PM3_EMALLOC;
|
return PM3_EMALLOC;
|
||||||
}
|
}
|
||||||
|
|
||||||
size_t BitLen = getFromGraphBuf(bits);
|
size_t BitLen = getFromGraphBuf(bits);
|
||||||
if (BitLen == 0) {
|
if (BitLen == 0) {
|
||||||
free(bits);
|
free(bits);
|
||||||
return PM3_ESOFT;
|
return PM3_ESOFT;
|
||||||
}
|
}
|
||||||
|
|
||||||
//get field clock lengths
|
//get field clock lengths
|
||||||
if (!fchigh || !fclow) {
|
if (!fchigh || !fclow) {
|
||||||
uint16_t fcs = countFC(bits, BitLen, true);
|
uint16_t fcs = countFC(bits, BitLen, true);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue