mirror of https://github.com/ARMmbed/mbed-os.git
Merge pull request #12117 from mprse/storage_static_pinmap_fix
Storage features: fix static pin-map for ARMC5pull/12128/head
commit
c374f529a1
|
@ -51,7 +51,7 @@
|
|||
#include "components/storage/blockdevice/COMPONENT_SD/SDBlockDevice.h"
|
||||
|
||||
#if (STATIC_PINMAP_READY)
|
||||
constexpr spi_pinmap_t static_spi_pinmap = get_spi_pinmap(MBED_CONF_SD_SPI_MOSI, MBED_CONF_SD_SPI_MISO, MBED_CONF_SD_SPI_CLK, NC);
|
||||
const spi_pinmap_t static_spi_pinmap = get_spi_pinmap(MBED_CONF_SD_SPI_MOSI, MBED_CONF_SD_SPI_MISO, MBED_CONF_SD_SPI_CLK, NC);
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
|
|
@ -40,7 +40,7 @@
|
|||
#include "components/storage/blockdevice/COMPONENT_SD/SDBlockDevice.h"
|
||||
|
||||
#if (STATIC_PINMAP_READY)
|
||||
constexpr spi_pinmap_t static_spi_pinmap = get_spi_pinmap(MBED_CONF_SD_SPI_MOSI, MBED_CONF_SD_SPI_MISO, MBED_CONF_SD_SPI_CLK, NC);
|
||||
const spi_pinmap_t static_spi_pinmap = get_spi_pinmap(MBED_CONF_SD_SPI_MOSI, MBED_CONF_SD_SPI_MISO, MBED_CONF_SD_SPI_CLK, NC);
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue