forked from PAWPAW-Mirror/lib_xua
Add missing header file guards.
This commit is contained in:
@@ -1,5 +1,8 @@
|
|||||||
// Copyright (c) 2013-2019, XMOS Ltd, All rights reserved
|
// Copyright (c) 2013-2019, XMOS Ltd, All rights reserved
|
||||||
|
|
||||||
|
#ifndef __USER_HID_H__
|
||||||
|
#define __USER_HID_H__
|
||||||
|
|
||||||
/* These defines relate to the HID report desc - do not mod */
|
/* These defines relate to the HID report desc - do not mod */
|
||||||
#define HID_CONTROL_PLAYPAUSE_SHIFT 0x00
|
#define HID_CONTROL_PLAYPAUSE_SHIFT 0x00
|
||||||
#define HID_CONTROL_NEXT_SHIFT 0x01
|
#define HID_CONTROL_NEXT_SHIFT 0x01
|
||||||
@@ -17,3 +20,4 @@ void UserReadHIDData( unsigned char hidData[ HID_DATA_SIZE ]);
|
|||||||
void UserSetHIDData( const unsigned hidData );
|
void UserSetHIDData( const unsigned hidData );
|
||||||
|
|
||||||
#endif /* ( 0 < HID_CONTROLS ) */
|
#endif /* ( 0 < HID_CONTROLS ) */
|
||||||
|
#endif /* __USER_HID_H__ */
|
||||||
|
|||||||
@@ -1,4 +1,8 @@
|
|||||||
// Copyright (c) 2019, XMOS Ltd, All rights reserved
|
// Copyright (c) 2019, XMOS Ltd, All rights reserved
|
||||||
|
|
||||||
|
#ifndef __XUA_HID_H__
|
||||||
|
#define __XUA_HID_H__
|
||||||
|
|
||||||
#include <xs1.h>
|
#include <xs1.h>
|
||||||
#include <xccompat.h>
|
#include <xccompat.h>
|
||||||
#include "xud.h"
|
#include "xud.h"
|
||||||
@@ -53,3 +57,5 @@ XUD_Result_t HidInterfaceClassRequests(
|
|||||||
* \retval 0 -- Send the HID Report
|
* \retval 0 -- Send the HID Report
|
||||||
*/
|
*/
|
||||||
unsigned HidIsSetIdleSilenced( void );
|
unsigned HidIsSetIdleSilenced( void );
|
||||||
|
|
||||||
|
#endif // __XUA_HID_H__
|
||||||
|
|||||||
Reference in New Issue
Block a user