Get drive of pull-ups right.

The drive for a pullup comes from ivl_nexus_pt_drive1. Get this
wrong and a pullup turns into a HiZ.
(cherry picked from commit 6b17dcc587)
This commit is contained in:
Stephen Williams 2009-10-12 22:01:56 -07:00
parent a6fdb4b6e6
commit 517b4e3248
1 changed files with 1 additions and 1 deletions

View File

@ -303,7 +303,7 @@ static char* draw_net_input_drive(ivl_nexus_t nex, ivl_nexus_ptr_t nptr)
char*result = malloc(result_len);
char*dp = result;
val[0] = "01234567"[ivl_nexus_ptr_drive0(nptr)];
val[0] = "01234567"[ivl_nexus_ptr_drive1(nptr)];
val[1] = val[0];
val[2] = '1';
val[3] = 0;