mirror of
https://github.com/espressif/esp-idf.git
synced 2025-07-31 11:17:20 +02:00
chore(spi): add log to show native pins or not when configure pins.
This commit is contained in:
@ -246,6 +246,11 @@ esp_err_t spicommon_bus_initialize_io(spi_host_device_t host, const spi_bus_conf
|
||||
}
|
||||
|
||||
*is_native = native;
|
||||
if ( native ) {
|
||||
ESP_LOGD(SPI_TAG, "SPI%d use native pins.", host );
|
||||
} else {
|
||||
ESP_LOGD(SPI_TAG, "SPI%d use gpio matrix.", host );
|
||||
}
|
||||
|
||||
if (native) {
|
||||
//All SPI native pin selections resolve to 1, so we put that here instead of trying to figure
|
||||
|
Reference in New Issue
Block a user