swdptap: Turnaround immediate after a reading with parity.

Thanks to JojoS.
Probably mostly cosmetic, but is keeps the device from driving SWDIO
until the next commands.
This commit is contained in:
Uwe Bonnes 2020-10-01 18:06:49 +02:00 提交者 UweBonnes
父節點 4d18496a6f
當前提交 9bba3165fb
共有 1 個檔案被更改,包括 2 行新增0 行删除

查看文件

@ -117,6 +117,8 @@ static bool swdptap_seq_in_parity(uint32_t *ret, int ticks)
DEBUG("%d", (res & (1 << i)) ? 1 : 0);
#endif
*ret = res;
/* Terminate the read cycle now */
swdptap_turnaround(SWDIO_STATUS_DRIVE);
return (parity & 1);
}