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.

This commit is contained in:
Dean Camera committed 2012-04-09 12:45:49 +00:00
1 parent d771099f62
commit 9add0d100d
3 files changed
+19 -7

No files matched your search

+1 -1
View File
@@ -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"