summaryrefslogtreecommitdiff
path: root/code/fe310/eos/eos.c
diff options
context:
space:
mode:
Diffstat (limited to 'code/fe310/eos/eos.c')
-rw-r--r--code/fe310/eos/eos.c8
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();
}