X-Git-Url: http://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/f46c3663218b685d7d5ed83781daea1360595261..bf7ebb7b208a3b95f28a9a40f2e560a56e121794:/client/cmdmain.c diff --git a/client/cmdmain.c b/client/cmdmain.c index e2a3358c..d994f2e5 100644 --- a/client/cmdmain.c +++ b/client/cmdmain.c @@ -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.