From 9ccb4db8d59ec9dab33ee8617d462f21a8bb4fa8 Mon Sep 17 00:00:00 2001 From: Uros Majstorovic Date: Fri, 13 May 2022 12:26:19 +0200 Subject: touch controller/eve fixes --- fw/fe310/eos/i2c/Makefile | 3 ++- fw/fe310/eos/i2c/bq25895.c | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'fw/fe310/eos/i2c') diff --git a/fw/fe310/eos/i2c/Makefile b/fw/fe310/eos/i2c/Makefile index 97e4f12..83cb1f5 100644 --- a/fw/fe310/eos/i2c/Makefile +++ b/fw/fe310/eos/i2c/Makefile @@ -1,6 +1,7 @@ include ../../common.mk +CFLAGS += -I$(bsp_dir)/include -obj = bq25895.o ov2640.o +obj = bq25895.o ov2640.o gt911.o %.o: %.c %.h diff --git a/fw/fe310/eos/i2c/bq25895.c b/fw/fe310/eos/i2c/bq25895.c index 570e9a0..b290926 100644 --- a/fw/fe310/eos/i2c/bq25895.c +++ b/fw/fe310/eos/i2c/bq25895.c @@ -5,7 +5,7 @@ #include "eos.h" #include "pwr.h" #include "i2c.h" -#include "i2c/bq25895.h" +#include "bq25895.h" static int reg_read(uint8_t reg, uint8_t *data) { return eos_i2c_read8(BQ25895_ADDR, reg, data, 1); -- cgit v1.2.3