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/Drivers/Peripheral/AVRU4U6U7/ADC.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'LUFA/Drivers/Peripheral/AVRU4U6U7/ADC.h') diff --git a/LUFA/Drivers/Peripheral/AVRU4U6U7/ADC.h b/LUFA/Drivers/Peripheral/AVRU4U6U7/ADC.h index a7414ec31..8b1b47df2 100644 --- a/LUFA/Drivers/Peripheral/AVRU4U6U7/ADC.h +++ b/LUFA/Drivers/Peripheral/AVRU4U6U7/ADC.h @@ -62,7 +62,7 @@ #endif /* Preprocessor Checks: */ - #if !defined(INCLUDE_FROM_ADC_H) + #if !defined(__INCLUDE_FROM_ADC_H) #error Do not include this file directly. Include LUFA/Drivers/Peripheral/ADC.h instead. #endif -- cgit v1.2.3