]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - client/cmdmain.c
Merge remote-tracking branch 'upstream/master' into pm3+reveng
[proxmark3-svn] / client / cmdmain.c
index e2a3358c851288d389438cc90e82b6c75f6062e9..d994f2e5d8aeb6e1ae0e6f2ec98cb71716778ad6 100644 (file)
@@ -35,6 +35,7 @@ static int CmdQuit(const char *Cmd);
 static int CmdRev(const char *Cmd);
 
 //For storing command that are received from the device
+#define CMD_BUFFER_SIZE 50
 static UsbCommand cmdBuffer[CMD_BUFFER_SIZE];
 //Points to the next empty position to write to
 static int cmd_head;//Starts as 0
@@ -76,6 +77,7 @@ int CmdRev(const char *Cmd)
   CmdCrc(Cmd);
   return 0;
 }
+
 /**
  * @brief This method should be called when sending a new command to the pm3. In case any old
  *  responses from previous commands are stored in the buffer, a call to this method should clear them.
Impressum, Datenschutz