Add option to define extra symbols for 'lf cmdread', required e.g. for Hitag Micro and for talking to HT2 in emulation mode

This commit is contained in:
Philippe Teuwen 2020-09-17 17:17:28 +02:00
commit 4ec7bca270
5 changed files with 65 additions and 32 deletions

View file

@ -786,6 +786,7 @@ typedef struct {
#define LF_DIVISOR_125 LF_FREQ2DIV(125)
#define LF_DIVISOR_134 LF_FREQ2DIV(134.2)
#define LF_DIV2FREQ(d) (12000.0/((d)+1))
#define LF_CMDREAD_MAX_EXTRA_SYMBOLS 4
// Receiving from USART need more than 30ms as we used on USB
// else we get errors about partial packet reception