Skip to content

Commit

Permalink
rename a fct
Browse files Browse the repository at this point in the history
  • Loading branch information
iceman1001 committed Feb 5, 2021
1 parent 1c576d1 commit a168e43
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions client/src/cmdlf.c
Original file line number Diff line number Diff line change
Expand Up @@ -719,12 +719,12 @@ int CmdLFSniff(const char *Cmd) {
return ret;
}

static void ChkBitstream(void) {
static void lf_chk_bitstream(void) {
// convert to bitstream if necessary
for (int i = 0; i < (int)(GraphTraceLen / 2); i++) {
if (GraphBuffer[i] > 1 || GraphBuffer[i] < 0) {
CmdGetBitStream("");
PrintAndLogEx(INFO, "Converted to bitstream");
PrintAndLogEx(INFO, "converted Graphbuffer to bitstream values (0|1)");
break;
}
}
Expand Down Expand Up @@ -809,7 +809,7 @@ int CmdLFSim(const char *Cmd) {
}

// convert to bitstream if necessary
ChkBitstream();
lf_chk_bitstream();

lfsim_upload_gb();

Expand Down

0 comments on commit a168e43

Please sign in to comment.