mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
fix(openthread): add eventfd nums for spi interface
This commit is contained in:
parent
0d55c89950
commit
4f33ef4e11
@ -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…
Reference in New Issue
Block a user