From 6a31936e80ae2743376dcbf9d39cd92461c4deca Mon Sep 17 00:00:00 2001 From: Uros Majstorovic Date: Thu, 25 Nov 2021 01:59:07 +0100 Subject: i2s init/start/running fixed; i2c start returns error if i2s is running --- fw/fe310/eos/eve/eve_config.h | 1 - fw/fe310/eos/eve/eve_platform.c | 8 -------- 2 files changed, 9 deletions(-) (limited to 'fw/fe310/eos/eve') diff --git a/fw/fe310/eos/eve/eve_config.h b/fw/fe310/eos/eve/eve_config.h index 6b9b0a6..b0dd1a4 100755 --- a/fw/fe310/eos/eve/eve_config.h +++ b/fw/fe310/eos/eve/eve_config.h @@ -32,7 +32,6 @@ #define EVE_SWIZZLE (0L) /* Defines the arrangement of the RGB pins of the FT800 */ #define EVE_PCLK (1L) /* 60MHz / REG_PCLK = PCLK frequency - 30 MHz */ #define EVE_CSPREAD (0L) /* helps with noise, when set to 1 fewer signals are changed simultaneously, reset-default: 1 */ -#define EVE_TOUCH_RZTHRESH (1200L) /* touch-sensitivity */ #define EVE_GEN 4 diff --git a/fw/fe310/eos/eve/eve_platform.c b/fw/fe310/eos/eve/eve_platform.c index 003f396..2a43f1c 100644 --- a/fw/fe310/eos/eve/eve_platform.c +++ b/fw/fe310/eos/eve/eve_platform.c @@ -66,14 +66,6 @@ void eve_spi_stop(void) { eos_spi_deselect(); } -void eve_spi_set_fast(void) { - eos_spi_set_div(EOS_SPI_DEV_EVE, SPI_DIV_EVE); -} - -void eve_spi_set_slow(void) { - eos_spi_set_div(EOS_SPI_DEV_EVE, SPI_DIV_EVE_SLOW); -} - #include void *eve_malloc(size_t size) { -- cgit v1.2.3