diff options
author | Uros Majstorovic <majstor@majstor.org> | 2021-04-10 13:08:21 +0200 |
---|---|---|
committer | Uros Majstorovic <majstor@majstor.org> | 2021-04-10 13:08:21 +0200 |
commit | 09ec728b88499f7d6553432c2655954ec4788e16 (patch) | |
tree | cb0df35c4b8a383d7f4e4e3b03e131b50ee6590a /fw/fe310/eos/eos.c | |
parent | c910d0487cccd67161d4ab50bb3e996a43e6f27a (diff) |
added gpio management
Diffstat (limited to 'fw/fe310/eos/eos.c')
-rw-r--r-- | fw/fe310/eos/eos.c | 4 |
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); } |