From 46f516ddbc04a2c8f253e9a610dbf5ead63a5d17 Mon Sep 17 00:00:00 2001 From: Angel Cascarino Date: Tue, 11 Jan 2022 16:10:21 +0000 Subject: [PATCH] Updated header --- lib_xua/src/hid/xua_hid_report.h | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/lib_xua/src/hid/xua_hid_report.h b/lib_xua/src/hid/xua_hid_report.h index e05810da..6f59e152 100644 --- a/lib_xua/src/hid/xua_hid_report.h +++ b/lib_xua/src/hid/xua_hid_report.h @@ -113,6 +113,19 @@ typedef struct unsigned short location; } USB_HID_Report_Element_t; +/** + * @brief Does the application use Report IDs? + * + * If the application is not using Report IDs, then the id value that is passed around + * everywhere can just be zero. Otherwise zero is an invalid ID that has a special meaning + * in some cases (read the documentation for each function). + * + * @return Boolean + * @retval 1 Report IDs are in use + * @retval 0 Report IDs are not in use + */ +unsigned hidAreReportIdsInUse ( void ); + /** * \brief Register that a previously changed HID Report data has been sent * to the USB Host. @@ -190,19 +203,6 @@ size_t hidGetReportDescriptorLength( void ); */ unsigned hidGetReportIdLimit ( void ); -/** - * @brief Does the application use Report IDs? - * - * If the application is not using Report IDs, then the id value that is passed around - * everywhere can just be zero. Otherwise zero is an invalid ID that has a special meaning - * in some cases (read the documentation for each function). - * - * @return Boolean - * @retval 1 Report IDs are in use - * @retval 0 Report IDs are not in use - */ -unsigned hidIsReportIdInUse ( void ); - /** * @brief Is the provided report ID valid for passing to other functions. *