tap_state_t xenddr = TAP_IDLE;
uint8_t opcode;
- uint8_t uc;
+ uint8_t uc = 0;
long file_offset = 0;
int loop_count = 0;
if (CMD_ARGC < 2)
{
- command_print(CMD_CTX, "usage: xsvf <device#|plain> <file> [<variant>] [quiet]");
- return ERROR_FAIL;
+ return ERROR_COMMAND_SYNTAX_ERROR;
}
/* we mess with CMD_ARGV starting point below, snapshot filename here */