gowin: force flush when it's mandatory

This commit is contained in:
Gwenhael Goavec-Merou 2020-10-09 21:29:48 +02:00
parent da65579d0d
commit 23c9733a6d
1 changed files with 1 additions and 0 deletions

View File

@ -265,6 +265,7 @@ bool Gowin::wr_rd(uint8_t cmd,
if (rx || tx) {
_jtag->shiftDR(xfer_tx, (rx) ? xfer_rx : NULL, 8 * xfer_len);
_jtag->toggleClk(6);
_jtag->flush();
}
if (rx) {
if (verbose) {