rework some defines

This commit is contained in:
iceman1001 2021-05-16 23:03:13 +02:00
commit 16783000f0
4 changed files with 14 additions and 9 deletions

View file

@ -11,6 +11,8 @@
#ifndef EM4X50_H__
#define EM4X50_H__
#include "common.h"
#define EM4X50_NO_WORDS 34
// special words
@ -45,8 +47,6 @@
#define TIMEOUT_CMD 3000
#define DUMP_FILESIZE 136
#define BYTES2UINT32(x) ((x[0] << 24) | (x[1] << 16) | (x[2] << 8) | (x[3]))
typedef struct {
bool addr_given;
bool pwd_given;