mirror of
https://github.com/espressif/esp-idf.git
synced 2025-07-30 18:57:19 +02:00
fix(openthread): add eventfd nums for spi interface
This commit is contained in:
@ -105,8 +105,10 @@ void app_main(void)
|
|||||||
// * task queue
|
// * task queue
|
||||||
// * border router
|
// * border router
|
||||||
esp_vfs_eventfd_config_t eventfd_config = {
|
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.)
|
// * 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,
|
.max_fds = 4,
|
||||||
#else
|
#else
|
||||||
.max_fds = 3,
|
.max_fds = 3,
|
||||||
|
Reference in New Issue
Block a user