diff options
author | Uros Majstorovic <majstor@majstor.org> | 2020-02-19 06:47:43 +0100 |
---|---|---|
committer | Uros Majstorovic <majstor@majstor.org> | 2020-02-19 06:47:43 +0100 |
commit | 6666a131ab36b1d96a854da80524d860f9a3884b (patch) | |
tree | 5039423cb8c5592c20f8dd3aec417158ac058484 /code/fe310/eos/eos.c | |
parent | 15bddabc5cbe0e751fadcaaa7f7c7c36bca61331 (diff) |
eve long press/double tap/inertial scroll
spi flush bugfix
resolved dependecies: spi -> net; event -> net
renamed various handlers
Diffstat (limited to 'code/fe310/eos/eos.c')
-rw-r--r-- | code/fe310/eos/eos.c | 8 |
1 files changed, 6 insertions, 2 deletions
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(); } |