mibuild/sim/server_tb: use SERIAL_SINK_ACK
This commit is contained in:
parent
2d6fbd7902
commit
3d7f9fd685
|
@ -137,8 +137,8 @@ int console_service(struct sim *s)
|
||||||
/* console --> fpga */
|
/* console --> fpga */
|
||||||
SERIAL_SINK_STB = s->rx_serial_stb;
|
SERIAL_SINK_STB = s->rx_serial_stb;
|
||||||
SERIAL_SINK_DATA = s->rx_serial_data;
|
SERIAL_SINK_DATA = s->rx_serial_data;
|
||||||
if (s->rx_serial_stb)
|
if (SERIAL_SINK_STB & SERIAL_SINK_ACK)
|
||||||
s->rx_serial_presented = 1;
|
s->rx_serial_presented = s->rx_serial_stb;
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue