make style

This commit is contained in:
Philippe Teuwen 2021-12-31 12:45:21 +01:00
commit 23b4a47e94
3 changed files with 9 additions and 9 deletions

View file

@ -734,7 +734,7 @@ static int hitagS_handle_tag_auth(hitag_function htf, uint64_t key, uint64_t NrA
for (int j = 0; j < 8; j++) {
response_bit[i] = 0;
if ((crc & ((mask << 7) >> j)) != 0){
if ((crc & ((mask << 7) >> j)) != 0) {
response_bit[i] = 1;
}
i++;
@ -1283,7 +1283,7 @@ void ReadHitagS(hitag_function htf, hitag_data *htd, bool ledcontrol) {
((uint64_t)NrAr_[2]) << 40 |
((uint64_t)NrAr_[1]) << 48 |
((uint64_t)NrAr_[0]) << 56
;
;
break;
}
case RHTSF_KEY: {
@ -1296,7 +1296,7 @@ void ReadHitagS(hitag_function htf, hitag_data *htd, bool ledcontrol) {
((uint64_t)key_[2]) << 24 |
((uint64_t)key_[1]) << 32 |
((uint64_t)key_[0]) << 40
;
;
break;
}
default: {
@ -1554,7 +1554,7 @@ void WritePageHitagS(hitag_function htf, hitag_data *htd, int page, bool ledcont
((uint64_t)NrAr_[2]) << 40 |
((uint64_t)NrAr_[1]) << 48 |
((uint64_t)NrAr_[0]) << 56
;
;
break;
}
@ -1569,7 +1569,7 @@ void WritePageHitagS(hitag_function htf, hitag_data *htd, int page, bool ledcont
((uint64_t)key_[2]) << 24 |
((uint64_t)key_[1]) << 32 |
((uint64_t)key_[0]) << 40
;
;
break;
}
default: {

View file

@ -27,7 +27,7 @@
static int CmdHelp(const char *Cmd);
static int demod_guard_raw(uint8_t* raw, uint8_t rlen) {
static int demod_guard_raw(uint8_t *raw, uint8_t rlen) {
if (rlen != 12) {
return PM3_EINVARG;