Skip to content

Commit

Permalink
Support for the ESP-IDF framework
Browse files Browse the repository at this point in the history
  • Loading branch information
ivmarkov committed Aug 3, 2023
1 parent c67765d commit 161b525
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/reactor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,10 @@ impl Reactor {
sources: Mutex::new(Slab::new()),
events: Mutex::new(Vec::new()),
timers: Mutex::new(BTreeMap::new()),
#[cfg(not(target_os = "espidf"))]
timer_ops: ConcurrentQueue::bounded(1000),
#[cfg(target_os = "espidf")]
timer_ops: ConcurrentQueue::bounded(100),
}
})
}
Expand Down

0 comments on commit 161b525

Please sign in to comment.