mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-02 03:00:34 +03:00
test(uhci): fix false-pass bug in UHCI receive test
reset RX buffer state between UHCI test transactions
This commit is contained in:
@@ -157,6 +157,8 @@ static void uhci_receive_test(void *arg)
|
|||||||
}
|
}
|
||||||
|
|
||||||
ctx->receive_size = 0;
|
ctx->receive_size = 0;
|
||||||
|
ctx->p_receive_data = receive_data;
|
||||||
|
memset(receive_data, 0, DATA_LENGTH);
|
||||||
}
|
}
|
||||||
|
|
||||||
vQueueDelete(ctx->uhci_queue);
|
vQueueDelete(ctx->uhci_queue);
|
||||||
|
|||||||
Reference in New Issue
Block a user