FIX: cmdlfem4x.c needed ref to cmdmain.h for clearCommandBuffer
int i, k, n;
int segment_len = 0;
int segment_flag = 0;
int i, k, n;
int segment_len = 0;
int segment_flag = 0;
int crc = 0;
int wrp = 0;
int wrc = 0;
int crc = 0;
int wrp = 0;
int wrc = 0;
#include <stdio.h>
#include <string.h>
#include <inttypes.h>
#include <stdio.h>
#include <string.h>
#include <inttypes.h>
-#include "proxmark3.h"
-#include "ui.h"
-#include "util.h"
-#include "graph.h"
-#include "cmdparser.h"
-#include "cmddata.h"
-#include "cmdlf.h"
#ifndef CMDLFEM4X_H__
#define CMDLFEM4X_H__
#ifndef CMDLFEM4X_H__
#define CMDLFEM4X_H__
+#include "proxmark3.h"
+#include "ui.h"
+#include "util.h"
+#include "graph.h"
+#include "cmdparser.h"
+#include "cmddata.h"
+#include "cmdmain.h"
+#include "cmdmain.h"
+#include "cmdlf.h"
+#include "lfdemod.h"
int CmdEMdemodASK(const char *Cmd);
int CmdEM410xRead(const char *Cmd);
int CmdEMdemodASK(const char *Cmd);
int CmdEM410xRead(const char *Cmd);