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:
@@ -46,7 +46,7 @@
|
||||
// TODO: Add any required includes here
|
||||
|
||||
/* Preprocessor Checks: */
|
||||
#if !defined(INCLUDE_FROM_DATAFLASH_H)
|
||||
#if !defined(__INCLUDE_FROM_DATAFLASH_H)
|
||||
#error Do not include this file directly. Include LUFA/Drivers/Board/Dataflash.h instead.
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user