diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2012-04-09 12:45:49 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2012-04-09 12:45:49 +0000 |
commit | 9add0d100d21ea0eed8ad7d867938268cb9d06b4 (patch) | |
tree | 07545e2cbe4b74cda5c837d69e1111a4180805e4 /LUFA/Drivers/Peripheral | |
parent | d771099f62e7e83f7360b59fe6193d095c741666 (diff) | |
download | lufa-9add0d100d21ea0eed8ad7d867938268cb9d06b4.tar.gz lufa-9add0d100d21ea0eed8ad7d867938268cb9d06b4.tar.bz2 lufa-9add0d100d21ea0eed8ad7d867938268cb9d06b4.zip |
Ensure Temperature.c and TWI_AVR8.c can be compiled silently in projects with non-supported hardware - produce errors only if the user application includes the module header files.
Diffstat (limited to 'LUFA/Drivers/Peripheral')
-rw-r--r-- | LUFA/Drivers/Peripheral/AVR8/TWI_AVR8.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/LUFA/Drivers/Peripheral/AVR8/TWI_AVR8.c b/LUFA/Drivers/Peripheral/AVR8/TWI_AVR8.c index 45477fd52..495744b43 100644 --- a/LUFA/Drivers/Peripheral/AVR8/TWI_AVR8.c +++ b/LUFA/Drivers/Peripheral/AVR8/TWI_AVR8.c @@ -29,7 +29,7 @@ */ #include "../../../Common/Common.h" -#if (ARCH == ARCH_AVR8) +#if (ARCH == ARCH_AVR8) && defined(TWCR) #define __INCLUDE_FROM_TWI_C #include "../TWI.h" |