get the jim cable building again (prob needs a bit of work to make sure it runs correctly)

git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1895 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
master
Mike Frysinger 14 years ago
parent 778242ef9f
commit 727c4814e6

@ -1,3 +1,8 @@
2011-03-07 Mike Frysinger <vapier@gentoo.org>
* src/tap/cable/jim.c: Update get/set prototypes enough so that the code
will at least compile again.
2011-02-24 Mike Frysinger <vapier@gentoo.org>
* src/tap/cable/ft2232.c: Rename user-facing cable string from

@ -132,19 +132,21 @@ jim_cable_get_tdo (urj_cable_t *cable)
}
static int
jim_cable_get_trst (urj_cable_t *cable)
jim_cable_get_trst (urj_cable_t *cable, urj_pod_sigsel_t sig)
{
/* XXX: Doesn't handle sig ? */
jim_cable_params_t *jcp = cable->params;
return urj_jim_get_trst (jcp->s);
}
static int
jim_cable_set_trst (urj_cable_t *cable, int trst)
jim_cable_set_trst (urj_cable_t *cable, int mask, int val)
{
/* XXX: Doesn't handle mask ? */
jim_cable_params_t *jcp = cable->params;
urj_jim_set_trst (jcp->s, trst);
urj_jim_set_trst (jcp->s, val);
return urj_jim_get_trst (jcp->s);
}

Loading…
Cancel
Save