Make the names of guard macros reflect the filenames they're in.

This commit is contained in:
László Monda
2016-03-03 16:14:55 +01:00
parent 951fcbfe79
commit fa1afbbb9b
7 changed files with 14 additions and 14 deletions

View File

@@ -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:

View File

@@ -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:

View File

@@ -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)

View File

@@ -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:

View File

@@ -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:

View File

@@ -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:

View File

@@ -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: