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:
1 parent
d771099f62
commit
9add0d100d
3 files changed
+19
-7
No files matched your search
@@ -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"
|
||||
|
||||
Reference in new issue
Block a user