]> cvs.zerfleddert.de Git - proxmark3-svn/blobdiff - client/cmdhw.c
chg; no more crash when getting partial usb packages.
[proxmark3-svn] / client / cmdhw.c
index 03f4186ffa000fcb023c774f897b283c502fe127..11112118949ecdd7a3364996bcb2520335cfe16d 100644 (file)
@@ -473,8 +473,8 @@ static command_t CommandTable[] =
        {NULL, NULL, 0, NULL}
 };
 
-int CmdHW(const char *Cmd)
-{
+int CmdHW(const char *Cmd) {
+       clearCommandBuffer();
        CmdsParse(CommandTable, Cmd);
        return 0;
 }
Impressum, Datenschutz