Add more include protection macros to give the user warnings when they try to manually include private driver header files, instead of the public driver headers.
This commit is contained in:
@@ -51,6 +51,10 @@
|
||||
#ifndef _HID_CLASS_H_
|
||||
#define _HID_CLASS_H_
|
||||
|
||||
/* Macros: */
|
||||
#define __INCLUDE_FROM_HID_DRIVER
|
||||
#define __INCLUDE_FROM_USB_DRIVER
|
||||
|
||||
/* Includes: */
|
||||
#include "../HighLevel/USBMode.h"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user