mirror of
https://github.com/embassy-rs/embassy.git
synced 2024-11-23 15:22:28 +00:00
Merge pull request #3548 from bugadani/generic
Remove noop from queue_generic
This commit is contained in:
commit
e41a5c6268
@ -142,8 +142,6 @@ impl Queue {
|
||||
critical_section::with(|cs| {
|
||||
let mut inner = self.inner.borrow_ref_mut(cs);
|
||||
|
||||
if inner.is_none() {}
|
||||
|
||||
inner
|
||||
.get_or_insert_with(|| {
|
||||
let handle = unsafe { allocate_alarm() }.unwrap();
|
||||
|
Loading…
Reference in New Issue
Block a user