summaryrefslogtreecommitdiff
path: root/code/fe310/eos/eos.c
diff options
context:
space:
mode:
authorUros Majstorovic <majstor@majstor.org>2020-05-17 04:48:51 +0200
committerUros Majstorovic <majstor@majstor.org>2020-05-17 04:48:51 +0200
commit51453315e18632c00e4a43407ec63a4b69b17e80 (patch)
tree6d9fceebd172a9c3d02d8806e5a749223fdbfdca /code/fe310/eos/eos.c
parentd4ceadf1afc2b3c8120d65ea1f03203df5714d7a (diff)
power management fix
Diffstat (limited to 'code/fe310/eos/eos.c')
-rw-r--r--code/fe310/eos/eos.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/code/fe310/eos/eos.c b/code/fe310/eos/eos.c
index 292e3c6..1aae201 100644
--- a/code/fe310/eos/eos.c
+++ b/code/fe310/eos/eos.c
@@ -15,11 +15,8 @@
uint32_t eve_touch[6] = {0xfa46,0xfffffcf6,0x422fe,0xffffff38,0x10002,0xf3cb0};
-#include <stdio.h>
-
void eos_init(void) {
uint8_t wake_src = eos_power_cause_wake();
- printf("WAKE SRC:%d\n", wake_src);
eos_evtq_init();
eos_intr_init();
@@ -34,8 +31,7 @@ void eos_init(void) {
eos_sock_init();
eos_spi_dev_init();
- int rv = eos_net_wake(wake_src);
- printf("NET WAKE:%d\n", wake_src);
+ eos_net_wake(wake_src);
eve_set_touch_calibration(eve_touch);
eos_spi_dev_start(EOS_DEV_DISP);