Reversed renaming function to avoid upversioning

This commit is contained in:
Angel Cascarino
2022-01-11 17:57:18 +00:00
parent 45ab345521
commit c60da7fd82
5 changed files with 5 additions and 5 deletions

View File

@@ -901,7 +901,7 @@ void XUA_Buffer_Ep(register chanend c_aud_out,
unsigned reportTime;
tmr :> reportTime;
for(unsigned id = hidAreReportIdsInUse(); id < hidGetReportIdLimit(); ++id) {
for(unsigned id = hidIsReportIdInUse(); id < hidGetReportIdLimit(); ++id) {
if(0U == id || (hidIsChangePending(id) || !HidIsSetIdleSilenced(id))) {
hidCaptureReportTime(id, reportTime);
int hidDataLength = (int) UserHIDGetData(id, g_hidData);

View File

@@ -136,7 +136,7 @@ static unsigned hidGetUsagePage( const unsigned id );
*/
static size_t hidTranslateItem( const USB_HID_Short_Item_t* inPtr, unsigned char** outPtrPtr );
unsigned hidAreReportIdsInUse ( void ) {
unsigned hidIsReportIdInUse ( void ) {
return !hidIsReportIdValid(0U);
}

View File

@@ -124,7 +124,7 @@ typedef struct
* @retval 1 Report IDs are in use
* @retval 0 Report IDs are not in use
*/
unsigned hidAreReportIdsInUse ( void );
unsigned hidIsReportIdInUse ( void );
/**
* \brief Register that a previously changed HID Report data has been sent