From d49cc0f7830319e701294e19937fae4de26ae8e2 Mon Sep 17 00:00:00 2001 From: Dean Camera Date: Thu, 11 Feb 2010 04:05:02 +0000 Subject: 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. --- LUFA/DriverStubs/Dataflash.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'LUFA/DriverStubs/Dataflash.h') diff --git a/LUFA/DriverStubs/Dataflash.h b/LUFA/DriverStubs/Dataflash.h index 0f7a6c348..10eafa2a3 100644 --- a/LUFA/DriverStubs/Dataflash.h +++ b/LUFA/DriverStubs/Dataflash.h @@ -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 -- cgit v1.2.3