sleep_command_t -> struct sleep_command
[fw/openocd] / src / jtag / driver.c
index 42403a0a71245b41a2f278274042c27ad3bf896f..5e8c6be64188e80d7daf4fc4c8e966515a75446f 100644 (file)
@@ -458,7 +458,7 @@ int interface_jtag_add_sleep(uint32_t us)
 
        cmd->type = JTAG_SLEEP;
 
-       cmd->cmd.sleep = cmd_queue_alloc(sizeof(sleep_command_t));
+       cmd->cmd.sleep = cmd_queue_alloc(sizeof(struct sleep_command));
        cmd->cmd.sleep->us = us;
 
        return ERROR_OK;