Merge pull request #202 from mbanth/feature/configurable_hid

Add C and XC specific declarations of hidGetReportItem()
This commit is contained in:
Ed
2021-07-08 08:34:00 +01:00
committed by GitHub

View File

@@ -111,7 +111,11 @@ size_t hidGetReportDescriptorLength( void );
* @retval \c HID_STATUS_BAD_LOCATION The \a bit or \a byte arguments specify a location outside
* of the HID Report
*/
#if defined(__XC__)
unsigned hidGetReportItem( const unsigned byte, const unsigned bit, unsigned char* unsafe const page, unsigned char* unsafe const header, unsigned char* unsafe const data);
#else
unsigned hidGetReportItem( const unsigned byte, const unsigned bit, unsigned char* const page, unsigned char* const header, unsigned char data[]);
#endif
/**
* @brief Get the length of the HID Report