CHG: added addresize to legic select struct.

CHG: TIMER, it turns out the TC0, TC1 and TC2 is only 16bit.  So adjust to use two clocks to get a 32bit timer.
CHG: code clean up in legic device side.  consistency with variable names..
This commit is contained in:
iceman1001 2016-09-29 17:43:39 +02:00
commit fabef615ec
6 changed files with 93 additions and 80 deletions

View file

@ -20,7 +20,8 @@ typedef struct {
uint8_t uid[4];
uint32_t tagtype;
uint8_t cmdsize;
uint16_t cardsize;
uint8_t addrsize;
uint16_t cardsize;
} legic_card_select_t;
#endif // _LEGIC_H_