Add missing header file guards.

This commit is contained in:
Michael Banther
2019-12-05 16:45:11 +00:00
parent 3a5b982774
commit 255e9f75b5
2 changed files with 10 additions and 0 deletions

View File

@@ -1,5 +1,8 @@
// 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 */
#define HID_CONTROL_PLAYPAUSE_SHIFT 0x00
#define HID_CONTROL_NEXT_SHIFT 0x01
@@ -17,3 +20,4 @@ void UserReadHIDData( unsigned char hidData[ HID_DATA_SIZE ]);
void UserSetHIDData( const unsigned hidData );
#endif /* ( 0 < HID_CONTROLS ) */
#endif /* __USER_HID_H__ */

View File

@@ -1,4 +1,8 @@
// Copyright (c) 2019, XMOS Ltd, All rights reserved
#ifndef __XUA_HID_H__
#define __XUA_HID_H__
#include <xs1.h>
#include <xccompat.h>
#include "xud.h"
@@ -53,3 +57,5 @@ XUD_Result_t HidInterfaceClassRequests(
* \retval 0 -- Send the HID Report
*/
unsigned HidIsSetIdleSilenced( void );
#endif // __XUA_HID_H__