diff options
Diffstat (limited to 'code/fe310/eos/eve')
-rw-r--r-- | code/fe310/eos/eve/eve.h | 1 | ||||
-rw-r--r-- | code/fe310/eos/eve/eve_platform.c | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/code/fe310/eos/eve/eve.h b/code/fe310/eos/eve/eve.h index f377567..b72fdf5 100644 --- a/code/fe310/eos/eve/eve.h +++ b/code/fe310/eos/eve/eve.h @@ -5,6 +5,7 @@ #define EVE_ETYPE_INTR 1 #define EVE_OK 0 #define EVE_ERR -1 +#define EVE_ERR_TEXT -100 /* events */ #define EVE_TOUCH_ETYPE_TRACK 0x0001 diff --git a/code/fe310/eos/eve/eve_platform.c b/code/fe310/eos/eve/eve_platform.c index e15d414..bc0a7b9 100644 --- a/code/fe310/eos/eve/eve_platform.c +++ b/code/fe310/eos/eve/eve_platform.c @@ -66,4 +66,6 @@ void eve_init_platform(void) { GPIO_REG(GPIO_LOW_IE) |= (1 << EVE_PIN_INTR); eos_intr_set(INT_GPIO_BASE + EVE_PIN_INTR, IRQ_PRIORITY_UI, handle_intr); + + eos_spi_dev_set_div(EOS_DEV_DISP, 4); }
\ No newline at end of file |