forked from PAWPAW-Mirror/lib_xua
Remove ref. to IsReportIdInUse in ep_buffer
This commit is contained in:
@@ -901,7 +901,7 @@ void XUA_Buffer_Ep(register chanend c_aud_out,
|
|||||||
unsigned reportTime;
|
unsigned reportTime;
|
||||||
tmr :> reportTime;
|
tmr :> reportTime;
|
||||||
|
|
||||||
for(unsigned id = hidIsReportIdInUse(); id < hidGetReportIdLimit(); ++id) {
|
for(unsigned id = hidAreReportIdsInUse(); id < hidGetReportIdLimit(); ++id) {
|
||||||
if(0U == id || (hidIsChangePending(id) || !HidIsSetIdleSilenced(id))) {
|
if(0U == id || (hidIsChangePending(id) || !HidIsSetIdleSilenced(id))) {
|
||||||
hidCaptureReportTime(id, reportTime);
|
hidCaptureReportTime(id, reportTime);
|
||||||
int hidDataLength = (int) UserHIDGetData(id, g_hidData);
|
int hidDataLength = (int) UserHIDGetData(id, g_hidData);
|
||||||
|
|||||||
Reference in New Issue
Block a user