summaryrefslogtreecommitdiff
path: root/firmware/target/arm/pp/i2c-pp.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/arm/pp/i2c-pp.c')
-rw-r--r--firmware/target/arm/pp/i2c-pp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/firmware/target/arm/pp/i2c-pp.c b/firmware/target/arm/pp/i2c-pp.c
index 58740b5c66..192af0e304 100644
--- a/firmware/target/arm/pp/i2c-pp.c
+++ b/firmware/target/arm/pp/i2c-pp.c
@@ -33,8 +33,9 @@
#include "system.h"
#include "i2c.h"
#include "i2c-pp.h"
+#ifdef HAVE_AS3514
#include "ascodec.h"
-#include "as3514.h"
+#endif
#define I2C_CTRL (*(volatile unsigned char*)(I2C_BASE+0x00))
#define I2C_ADDR (*(volatile unsigned char*)(I2C_BASE+0x04))