#include "cmdlf.h"
#include "cmdmain.h"
#include "util.h"
+#include "cmdscript.h"
unsigned int current_command = CMD_UNKNOWN;
{"hw", CmdHW, 1, "{ Hardware commands... }"},
{"lf", CmdLF, 1, "{ LF commands... }"},
{"quit", CmdQuit, 1, "Quit program"},
+ {"script", CmdScript, 1,"Run script"},
{NULL, NULL, 0, NULL}
};
exit(0);
return 0;
}
-int getCommand(UsbCommand* response);
-void storeCommand(UsbCommand *command);
/**
* Waits for a certain response type. This method waits for a maximum of
* ms_timeout milliseconds for a specified response command.