Add C and XC specific declarations of hidGetReportItem()

This commit is contained in:
mbanth
2021-07-07 17:25:25 +01:00
parent 9d55c315c8
commit 9b153bbda5

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