make style

This commit is contained in:
Philippe Teuwen 2020-04-21 01:56:51 +02:00
commit a68b8983f2
3 changed files with 18 additions and 18 deletions

View file

@ -2804,18 +2804,18 @@ static int CmdHF14AMfuOtpTearoff(const char *Cmd) {
} }
} }
/* TEMPORALLY DISABLED /* TEMPORALLY DISABLED
uint8_t d0, d1, d2, d3; uint8_t d0, d1, d2, d3;
d0 = *resp.data.asBytes; d0 = *resp.data.asBytes;
d1 = *(resp.data.asBytes + 1); d1 = *(resp.data.asBytes + 1);
d2 = *(resp.data.asBytes + 2); d2 = *(resp.data.asBytes + 2);
d3 = *(resp.data.asBytes + 3); d3 = *(resp.data.asBytes + 3);
if ((d0 != 0xFF) || (d1 != 0xFF) || (d2 != 0xFF) || (d3 = ! 0xFF)) { if ((d0 != 0xFF) || (d1 != 0xFF) || (d2 != 0xFF) || (d3 = ! 0xFF)) {
PrintAndLogEx(NORMAL, "---------------------------------"); PrintAndLogEx(NORMAL, "---------------------------------");
PrintAndLogEx(NORMAL, " EFFECT AT: %d us", actualTime); PrintAndLogEx(NORMAL, " EFFECT AT: %d us", actualTime);
PrintAndLogEx(NORMAL, "---------------------------------\n"); PrintAndLogEx(NORMAL, "---------------------------------\n");
} }
*/ */
actualTime += interval; actualTime += interval;
} }
return PM3_SUCCESS; return PM3_SUCCESS;

View file

@ -22,10 +22,10 @@
static int CmdHelp(const char *Cmd); static int CmdHelp(const char *Cmd);
static char* getHitagTypeStr(uint32_t uid) { static char *getHitagTypeStr(uint32_t uid) {
//uid s/n ******** //uid s/n ********
uint8_t type = (uid >> 4) & 0xF; uint8_t type = (uid >> 4) & 0xF;
switch(type) { switch (type) {
case 1: case 1:
return "PCF 7936"; return "PCF 7936";
case 2: case 2: