X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=blobdiff_plain;f=src%2Fjtag%2Fminidummy%2Fminidummy.c;h=4e21cc42668ba6ab271b07d79f305e9c5b9fcf48;hp=7a7e937166001eb7c051037ec8f35d0a458c3fe9;hb=42ef503d37b18d907da16d26e99167566d5aabd1;hpb=86e4324f1bd4cd8135cb857e4b940b1f2e872dc3 diff --git a/src/jtag/minidummy/minidummy.c b/src/jtag/minidummy/minidummy.c index 7a7e937166..4e21cc4266 100644 --- a/src/jtag/minidummy/minidummy.c +++ b/src/jtag/minidummy/minidummy.c @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2007-2008 by Øyvind Harboe * + * Copyright (C) 2007-2008 by Øyvind Harboe * * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * @@ -59,12 +59,6 @@ int interface_jtag_execute_queue(void) extern int jtag_check_value(uint8_t *captured, void *priv); -int interface_jtag_set_end_state(tap_state_t state) -{ - return ERROR_OK; -} - - int interface_jtag_add_ir_scan(int num_fields, const scan_field_t *fields, tap_state_t state) { /* synchronously do the operation here */ @@ -145,7 +139,7 @@ int interface_jtag_add_pathmove(int num_states, const tap_state_t *path) state_count = 0; - tap_state_t cur_state=cmd_queue_cur_state; + tap_state_t cur_state = cmd_queue_cur_state; while (num_states) { @@ -178,7 +172,7 @@ int interface_jtag_add_pathmove(int num_states, const tap_state_t *path) -void embeddedice_write_dcc(jtag_tap_t *tap, int reg_addr, uint8_t *buffer, int little, int count) +void embeddedice_write_dcc(struct jtag_tap *tap, int reg_addr, uint8_t *buffer, int little, int count) { int i; for (i = 0; i < count; i++)