diff options
Diffstat (limited to 'src/jtag/driver.c')
-rw-r--r-- | src/jtag/driver.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jtag/driver.c b/src/jtag/driver.c index 1f28d18..42403a0 100644 --- a/src/jtag/driver.c +++ b/src/jtag/driver.c @@ -442,7 +442,7 @@ int interface_jtag_add_reset(int req_trst, int req_srst) cmd->type = JTAG_RESET; - cmd->cmd.reset = cmd_queue_alloc(sizeof(reset_command_t)); + cmd->cmd.reset = cmd_queue_alloc(sizeof(struct reset_command)); cmd->cmd.reset->trst = req_trst; cmd->cmd.reset->srst = req_srst; |