usb_drv_send_nonblocking(ep_in, tb.csw, sizeof(struct command_status_wrapper));- state = SENDING_CSW;+ state = WAITING_FOR_CSW_COMPLETION_OR_COMMAND; //logf("CSW: %X",status);+ /* Already start waiting for the next command */+ usb_drv_recv(ep_out, cbw_buffer, MAX_CBW_SIZE);+ /* The next completed transfer will be either the CSW one+ * or the new command */