mirror of
https://github.com/espressif/esp-idf.git
synced 2025-12-16 04:22:22 +00:00
fix unit test and examples for s2beta
This commit is contained in:
committed by
Angus Gratton
parent
5b6bd40bc6
commit
9baa7826be
@@ -1,4 +1,9 @@
|
||||
#include "soc/soc_caps.h"
|
||||
|
||||
#if SOC_SDMMC_HOST_SUPPORTED
|
||||
#include "driver/sdmmc_host.h"
|
||||
#endif
|
||||
|
||||
#include "driver/sdspi_host.h"
|
||||
|
||||
|
||||
@@ -9,10 +14,12 @@ static void test_initializers() __attribute__((unused));
|
||||
|
||||
static void test_initializers()
|
||||
{
|
||||
#if SOC_SDMMC_HOST_SUPPORTED
|
||||
sdmmc_host_t sdmmc_host = SDMMC_HOST_DEFAULT();
|
||||
(void) sdmmc_host;
|
||||
sdmmc_slot_config_t sdmmc_slot = SDMMC_SLOT_CONFIG_DEFAULT();
|
||||
(void) sdmmc_slot;
|
||||
#endif
|
||||
sdmmc_host_t sdspi_host = SDSPI_HOST_DEFAULT();
|
||||
(void) sdspi_host;
|
||||
sdspi_slot_config_t sdspi_slot = SDSPI_SLOT_CONFIG_DEFAULT();
|
||||
|
||||
Reference in New Issue
Block a user