Removed unused variables, added implicitly used headers

This commit is contained in:
dn337t@gmail.com 2012-05-14 14:48:23 +00:00
parent 2d4eae7617
commit 31b6e9af2b
4 changed files with 3 additions and 8 deletions

View file

@ -111,7 +111,7 @@ int getUID(uint8_t *buf)
// uid[8] tag uid
// returns description of the best match
static char* getTagInfo(uint8_t *uid) {
uint64_t myuid,mask,t;
uint64_t myuid,mask;
int i=0, best=-1;
memcpy(&myuid,uid,sizeof(uint64_t));
while (uidmapping[i].mask>0) {