FIX: "hf legic decode" the stamp_len variable was int, but its used as a uint8_t.

FIX: cmdlfem4x.c needed ref to cmdmain.h for clearCommandBuffer
This commit is contained in:
iceman1001 2016-02-14 15:30:26 +01:00
commit 60bb5ef73b
3 changed files with 11 additions and 9 deletions

View file

@ -47,7 +47,7 @@ int CmdLegicDecode(const char *Cmd) {
int i, k, n;
int segment_len = 0;
int segment_flag = 0;
int stamp_len = 0;
uint8_t stamp_len = 0;
int crc = 0;
int wrp = 0;
int wrc = 0;