test_spi_slave: fix warnings about unused identifiers
This commit is contained in:
parent
ef84773689
commit
e3fce506b8
1 changed files with 4 additions and 4 deletions
|
@ -9,6 +9,9 @@
|
||||||
#include "esp_log.h"
|
#include "esp_log.h"
|
||||||
#include "sdkconfig.h"
|
#include "sdkconfig.h"
|
||||||
|
|
||||||
|
#ifndef CONFIG_SPIRAM_SUPPORT
|
||||||
|
//This test should be removed once the timing test is merged.
|
||||||
|
|
||||||
#define PIN_NUM_MISO 25
|
#define PIN_NUM_MISO 25
|
||||||
#define PIN_NUM_MOSI 23
|
#define PIN_NUM_MOSI 23
|
||||||
#define PIN_NUM_CLK 19
|
#define PIN_NUM_CLK 19
|
||||||
|
@ -75,9 +78,6 @@ static void slave_init()
|
||||||
TEST_ESP_OK( spi_slave_initialize(VSPI_HOST, &buscfg, &slvcfg, 2) );
|
TEST_ESP_OK( spi_slave_initialize(VSPI_HOST, &buscfg, &slvcfg, 2) );
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifndef CONFIG_SPIRAM_SUPPORT
|
|
||||||
//This test should be removed once the timing test is merged.
|
|
||||||
|
|
||||||
TEST_CASE("test slave startup","[spi]")
|
TEST_CASE("test slave startup","[spi]")
|
||||||
{
|
{
|
||||||
uint8_t master_txbuf[320]=MASTER_SEND;
|
uint8_t master_txbuf[320]=MASTER_SEND;
|
||||||
|
@ -144,4 +144,4 @@ TEST_CASE("test slave startup","[spi]")
|
||||||
ESP_LOGI(MASTER_TAG, "test passed.");
|
ESP_LOGI(MASTER_TAG, "test passed.");
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
#endif // !CONFIG_SPIRAM_SUPPORT
|
||||||
|
|
Loading…
Reference in a new issue