CHG: Refactored the HF MFU udump/ucdump commands into one method.

This commit is contained in:
iceman1001
2015-01-06 21:08:20 +01:00
parent e3ab50cafb
commit 99a714185e
7 changed files with 224 additions and 693 deletions

View File

@@ -27,7 +27,6 @@
static int CmdHelp(const char *Cmd);
static void waitCmd(uint8_t iLen);
// structure and database for uid -> tagtype lookups
typedef struct {
uint8_t uid;
@@ -111,7 +110,7 @@ const manufactureName manufactureMapping[] = {
// get a product description based on the UID
// uid[8] tag uid
// returns description of the best match
static char* getTagInfo(uint8_t uid) {
char* getTagInfo(uint8_t uid) {
int i, best = -1;
int len = sizeof(manufactureMapping) / sizeof(manufactureName);