mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-01 18:50:34 +03:00
fix(esp_hw_support): fixed spi buslock multi dev acq/release logic issue
This commit is contained in:
@@ -29,7 +29,7 @@ extern "C" {
|
||||
#if BUS_LOCK_DEBUG
|
||||
#define BUS_LOCK_DEBUG_EXECUTE_CHECK(x) assert(x)
|
||||
#else
|
||||
#define BUS_LOCK_DEBUG_EXECUTE_CHECK(x)
|
||||
#define BUS_LOCK_DEBUG_EXECUTE_CHECK(x) (void)(x)
|
||||
#endif
|
||||
|
||||
#define CHECK_IOMUX_PIN(HOST, PIN_NAME) if (GPIO.func_in_sel_cfg[spi_periph_signal[(HOST)].PIN_NAME##_in].sig_in_sel) return false
|
||||
|
||||
Reference in New Issue
Block a user