add l/h option to hw tune and optimize order of tuning

This commit is contained in:
Richard Antony Burton 2016-05-30 18:30:38 +01:00
parent 6fcb5dda51
commit fdcfbdcc21
8 changed files with 69 additions and 22 deletions

View file

@ -228,6 +228,11 @@ typedef struct{
#define FLAG_ICLASS_READER_CEDITKEY 0x40
//hw tune args
#define FLAG_TUNE_LF 1
#define FLAG_TUNE_HF 2
#define FLAG_TUNE_ALL 3
// CMD_DEVICE_INFO response packet has flags in arg[0], flag definitions:
/* Whether a bootloader that understands the common_area is present */