From 09ec728b88499f7d6553432c2655954ec4788e16 Mon Sep 17 00:00:00 2001 From: Uros Majstorovic Date: Sat, 10 Apr 2021 13:08:21 +0200 Subject: added gpio management --- fw/fe310/eos/eos.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'fw/fe310/eos/eos.c') diff --git a/fw/fe310/eos/eos.c b/fw/fe310/eos/eos.c index 87b414b..0909958 100644 --- a/fw/fe310/eos/eos.c +++ b/fw/fe310/eos/eos.c @@ -16,6 +16,8 @@ #include "i2c/bq25895.h" #include "eve/eve.h" +#include "board.h" + #include "eos.h" static uint32_t eve_touch[6] = {0xfa46,0xfffffcf6,0x422fe,0xffffff38,0x10002,0xf3cb0}; @@ -42,5 +44,5 @@ void eos_init(void) { eos_net_wake(wakeup_cause); eve_set_touch_calibration(eve_touch); - eve_init(wakeup_cause == EOS_PWR_WAKE_RST); + eve_init(wakeup_cause == EOS_PWR_WAKE_RST, EVE_GPIO_DIR); } -- cgit v1.2.3