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