ADD: a print_hex_break function,

CHG: "hf legic decode" looks better.
This commit is contained in:
iceman1001 2016-02-15 22:05:26 +01:00
commit a182a680b0
2 changed files with 12 additions and 15 deletions

View file

@ -111,7 +111,7 @@ void print_hex_break(const uint8_t *data, const size_t len, uint8_t breaks) {
// check if a line break is needed
if ( (breaks > 0) && (i > 0) && !(i % breaks) )
printf("\n");
printf("(%d %d)\n", i , breaks);
}
printf("\n");
}