forked from PAWPAW-Mirror/lib_xua
Limit the usage of hidGetReportDescriptor() to C only
This commit is contained in:
@@ -71,9 +71,15 @@ typedef struct
|
|||||||
* It returns NULL if the Report descriptor has not been prepared,
|
* It returns NULL if the Report descriptor has not been prepared,
|
||||||
* i.e., no one has called \c hidPrepareReportDescriptor().
|
* i.e., no one has called \c hidPrepareReportDescriptor().
|
||||||
*
|
*
|
||||||
|
* @note An XC-callable version of this function has not been provided.
|
||||||
|
* XC requires explicit declaration of the kind of pointer returned,
|
||||||
|
* hence an XC implementation of the function.
|
||||||
|
*
|
||||||
* @return A pointer to a list of unsigned char containing the Report descriptor
|
* @return A pointer to a list of unsigned char containing the Report descriptor
|
||||||
*/
|
*/
|
||||||
|
#if !defined(__XC__)
|
||||||
unsigned char* hidGetReportDescriptor( void );
|
unsigned char* hidGetReportDescriptor( void );
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Get the length of the HID Report descriptor
|
* @brief Get the length of the HID Report descriptor
|
||||||
|
|||||||
Reference in New Issue
Block a user