mirror of
https://github.com/qmk/qmk_firmware.git
synced 2025-09-10 17:15:43 +00:00
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:
@@ -54,7 +54,7 @@
|
||||
#include "AT45DB642D.h"
|
||||
|
||||
/* 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