hf 14a: add config loopholes to deal with badly configured cards: invalid ATQA, invalid BCC, invalid SAK

This commit is contained in:
Philippe Teuwen 2020-09-07 00:48:36 +02:00
commit b751354ea2
11 changed files with 243 additions and 22 deletions

View file

@ -1,6 +1,9 @@
#ifndef __ANSI_H
#define __ANSI_H
// Not ANSI but dirty trick to specify we don't want a \n
#define NOLF "\xff"
#define AEND "\x1b[0m"
#define _BLUE_(s) "\x1b[34m" s AEND