// Compose the outgoing command frame\r
txcmd.cmd = cmd;\r
txcmd.arg[0] = arg0;\r
- txcmd.arg[1] = arg1;\r
+ txcmd.arg[1] = arg1; \r
txcmd.arg[2] = arg2;\r
\r
// Add the (optional) content to the frame, with a maximum size of USB_CMD_DATA_SIZE\r
if (data && len) {\r
memcpy(txcmd.d.asBytes,data,MIN(len,USB_CMD_DATA_SIZE));\r
- }\r
+ }\r
\r
// Send frame and make sure all bytes are transmitted\r
if (usb_write((byte_t*)&txcmd,sizeof(UsbCommand)) != 0) return false;\r