summaryrefslogtreecommitdiff
path: root/fw/fe310/eos/eos.c
diff options
context:
space:
mode:
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 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);
}