mirror of
https://github.com/espressif/esp-idf
synced 2025-03-10 01:29:21 -04:00
Merge branch 'bugfix/event_fd_for_spi_interface' into 'master'
fix(openthread): add eventfd nums for spi interface See merge request espressif/esp-idf!27368
This commit is contained in:
commit
feb62db338
@ -105,8 +105,10 @@ void app_main(void)
|
||||
// * task queue
|
||||
// * border router
|
||||
esp_vfs_eventfd_config_t eventfd_config = {
|
||||
#if CONFIG_OPENTHREAD_RADIO_NATIVE
|
||||
#if CONFIG_OPENTHREAD_RADIO_NATIVE || CONFIG_OPENTHREAD_RADIO_SPINEL_SPI
|
||||
// * radio driver (A native radio device needs a eventfd for radio driver.)
|
||||
// * SpiSpinelInterface (The Spi Spinel Interface needs a eventfd.)
|
||||
// The above will not exist at the same time.
|
||||
.max_fds = 4,
|
||||
#else
|
||||
.max_fds = 3,
|
||||
|
Loading…
x
Reference in New Issue
Block a user