mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 13:53:55 -07:00
chg: some debug
This commit is contained in:
parent
71a500d824
commit
d3654ab41c
2 changed files with 2 additions and 1 deletions
|
@ -106,6 +106,7 @@ static void *uart_receiver(void *targ) {
|
|||
while (arg->run) {
|
||||
rxlen = 0;
|
||||
if (uart_receive(sp, prx, sizeof(UsbCommand) - (prx-rx), &rxlen)) {
|
||||
|
||||
prx += rxlen;
|
||||
if (prx-rx < sizeof(UsbCommand)) {
|
||||
continue;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue