diff options
| author | Uros Majstorovic <majstor@majstor.org> | 2021-11-25 01:59:07 +0100 | 
|---|---|---|
| committer | Uros Majstorovic <majstor@majstor.org> | 2021-11-25 01:59:07 +0100 | 
| commit | 6a31936e80ae2743376dcbf9d39cd92461c4deca (patch) | |
| tree | f6dedd2cbf3aee9bb8135c7a4ff874c066a6d072 /fw/fe310/eos/eve | |
| parent | c44897fda572cf8837b4535a6d1aaad4605c14af (diff) | |
i2s init/start/running fixed; i2c start returns error if i2s is running
Diffstat (limited to 'fw/fe310/eos/eve')
| -rwxr-xr-x | fw/fe310/eos/eve/eve_config.h | 1 | ||||
| -rw-r--r-- | fw/fe310/eos/eve/eve_platform.c | 8 | 
2 files changed, 0 insertions, 9 deletions
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 <stdio.h>  void *eve_malloc(size_t size) {  | 
