summaryrefslogtreecommitdiff
path: root/fw/fe310/eos/eos.c
diff options
context:
space:
mode:
authorUros Majstorovic <majstor@majstor.org>2021-11-16 19:19:51 +0100
committerUros Majstorovic <majstor@majstor.org>2021-11-16 19:19:51 +0100
commit9d1721008fe1d35abdedbff063ef29d35996124c (patch)
tree10a38a337add60c6584abcf7745f3c9054444237 /fw/fe310/eos/eos.c
parent554144b3caeb478881560fc0bff19ba95af87077 (diff)
board REV3 pins in board.h; eve BT817 support
Diffstat (limited to 'fw/fe310/eos/eos.c')
-rw-r--r--fw/fe310/eos/eos.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/fw/fe310/eos/eos.c b/fw/fe310/eos/eos.c
index e2ad3d1..929a66f 100644
--- a/fw/fe310/eos/eos.c
+++ b/fw/fe310/eos/eos.c
@@ -44,7 +44,9 @@ void eos_init(void) {
eos_net_start(wakeup_cause);
- eve_init(wakeup_cause == EOS_PWR_WAKE_RST, touch_calibrate, touch_matrix, EVE_GPIO_DIR);
+ int rv = eve_init(wakeup_cause == EOS_PWR_WAKE_RST, touch_calibrate, touch_matrix, EVE_GPIO_DIR);
+
+ printf("EVE INIT: %d\n", rv);
if (touch_calibrate) {
printf("TOUCH MATRIX:\n");
printf("uint32_t touch_matrix[6] = {0x%x,0x%x,0x%x,0x%x,0x%x,0x%x}\n", touch_matrix[0], touch_matrix[1], touch_matrix[2], touch_matrix[3], touch_matrix[4], touch_matrix[5]);