xmos / lib_xud

XMOS USB code and associated examples
Other
8 stars 25 forks source link

missing test: XUD_SetStall when EP marked ready #337

Closed xross closed 2 years ago

xross commented 2 years ago

test_stall_epready_out and test_stall_epready_in only used XUD_SetStallbyAddr() and XUD_ClearStallByAddr() leaving XUD_SetStall() and XUD_ClearStall() un-tested in this used case

xross commented 2 years ago

XUD_Set/ClearStall() now uses XUD_Set/ClearStallByAddr() to maximise code re-use: #338

This makes this test requirement pretty much redundant.

xross commented 2 years ago

Closing issue, the single line of code not covered by test can be signed off