From 6666a131ab36b1d96a854da80524d860f9a3884b Mon Sep 17 00:00:00 2001 From: Uros Majstorovic Date: Wed, 19 Feb 2020 06:47:43 +0100 Subject: eve long press/double tap/inertial scroll spi flush bugfix resolved dependecies: spi -> net; event -> net renamed various handlers --- code/fe310/eos/eos.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'code/fe310/eos/eos.c') diff --git a/code/fe310/eos/eos.c b/code/fe310/eos/eos.c index bb231d1..715549f 100644 --- a/code/fe310/eos/eos.c +++ b/code/fe310/eos/eos.c @@ -12,6 +12,8 @@ #include "eos.h" +uint32_t touch_transform[6] = {0xfa46,0xfffffcf6,0x422fe,0xffffff38,0x10002,0xf3cb0}; + void eos_init(void) { eos_evtq_init(); eos_intr_init(); @@ -23,7 +25,9 @@ void eos_init(void) { eos_wifi_init(); eos_cell_init(); eos_sock_init(); - eos_spi_dev_start(EOS_SPI_DEV_DISP); - eos_eve_init(); + eos_spi_dev_init(); + + eos_spi_dev_start(EOS_DEV_DISP); + eve_init(touch_transform); eos_spi_dev_stop(); } -- cgit v1.2.3