Make the names of guard macros reflect the filenames they're in.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
#ifndef __USB_DEVICE_COMPOSITE_H__
|
||||
#define __USB_DEVICE_COMPOSITE_H__
|
||||
#ifndef __USB_COMPOSITE_DEVICE_H__
|
||||
#define __USB_COMPOSITE_DEVICE_H__
|
||||
|
||||
// Includes:
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#ifndef __USB_DEVICE_DESCRIPTOR_H__
|
||||
#define __USB_DEVICE_DESCRIPTOR_H__
|
||||
#ifndef __USB_DESCRIPTOR_DEVICE_H__
|
||||
#define __USB_DESCRIPTOR_DEVICE_H__
|
||||
|
||||
// Macros:
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#ifndef _USB_DEVICE_CONFIG_H_
|
||||
#define _USB_DEVICE_CONFIG_H_
|
||||
#ifndef __USB_DEVICE_CONFIG_H__
|
||||
#define __USB_DEVICE_CONFIG_H__
|
||||
|
||||
/*! @brief KHCI instance count */
|
||||
#define USB_DEVICE_CONFIG_KHCI (1U)
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#ifndef __HID_GENERIC_H__
|
||||
#define __HID_GENERIC_H__
|
||||
#ifndef __USB_INTERFACE_GENERIC_HID_H__
|
||||
#define __USB_INTERFACE_GENERIC_HID_H__
|
||||
|
||||
// Includes:
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#ifndef __USB_DEVICE_HID_KEYBOARD_H__
|
||||
#define __USB_DEVICE_HID_KEYBOARD_H__
|
||||
#ifndef __USB_INTERFACE_KEYBOARD_H__
|
||||
#define __USB_INTERFACE_KEYBOARD_H__
|
||||
|
||||
// Includes:
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#ifndef __USB_DEVICE_HID_MOUSE_H__
|
||||
#define __USB_DEVICE_HID_MOUSE_H__
|
||||
#ifndef __USB_INTERFACE_MOUSE_H__
|
||||
#define __USB_INTERFACE_MOUSE_H__
|
||||
|
||||
// Includes:
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#ifndef __USB_REPORT_ITEM_DATA_CONST__
|
||||
#define __USB_REPORT_ITEM_DATA_CONST__
|
||||
#ifndef __USB_REPORT_ITEM_MACROS__
|
||||
#define __USB_REPORT_ITEM_MACROS__
|
||||
|
||||
// Includes:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user