mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-20 13:23:51 -07:00
make style
This commit is contained in:
parent
842e321cdb
commit
346af6e3d1
5 changed files with 29 additions and 32 deletions
|
@ -427,12 +427,10 @@ uint32_t doCotagAcquisitionManchester() {
|
||||||
if (sample > COTAG_ONE_THRESHOLD) {
|
if (sample > COTAG_ONE_THRESHOLD) {
|
||||||
prev = curr;
|
prev = curr;
|
||||||
curr = 1;
|
curr = 1;
|
||||||
}
|
} else if (sample < COTAG_ZERO_THRESHOLD) {
|
||||||
else if ( sample < COTAG_ZERO_THRESHOLD) {
|
|
||||||
prev = curr;
|
prev = curr;
|
||||||
curr = 0;
|
curr = 0;
|
||||||
}
|
} else {
|
||||||
else {
|
|
||||||
curr = prev;
|
curr = prev;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -29,8 +29,7 @@ size_t nbytes(size_t nbits) {
|
||||||
return (nbits / 8) + ((nbits % 8) > 0);
|
return (nbits / 8) + ((nbits % 8) > 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
int usage_hitag_reader(void)
|
int usage_hitag_reader(void) {
|
||||||
{
|
|
||||||
PrintAndLogEx(NORMAL, "Usage: lf hitag reader [h] <reader function #>");
|
PrintAndLogEx(NORMAL, "Usage: lf hitag reader [h] <reader function #>");
|
||||||
PrintAndLogEx(NORMAL, "Options:");
|
PrintAndLogEx(NORMAL, "Options:");
|
||||||
PrintAndLogEx(NORMAL, " h This help");
|
PrintAndLogEx(NORMAL, " h This help");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue