Merge pull request #192 from embassy-rs/executor-agnostic
Build with executor-agnostic in CI
This commit is contained in:
commit
211fdb6e84
2 changed files with 2 additions and 2 deletions
2
.github/workflows/rust.yml
vendored
2
.github/workflows/rust.yml
vendored
|
@ -19,7 +19,7 @@ jobs:
|
||||||
target: thumbv7em-none-eabi
|
target: thumbv7em-none-eabi
|
||||||
- package: embassy
|
- package: embassy
|
||||||
target: thumbv7em-none-eabi
|
target: thumbv7em-none-eabi
|
||||||
features: log
|
features: log,executor-agnostic
|
||||||
- package: embassy
|
- package: embassy
|
||||||
target: thumbv7em-none-eabi
|
target: thumbv7em-none-eabi
|
||||||
features: defmt
|
features: defmt
|
||||||
|
|
|
@ -2,7 +2,7 @@ use core::cell::Cell;
|
||||||
use core::mem;
|
use core::mem;
|
||||||
use core::task::Waker;
|
use core::task::Waker;
|
||||||
|
|
||||||
use cortex_m::interrupt::Mutex;
|
use crate::util::CriticalSectionMutex as Mutex;
|
||||||
|
|
||||||
/// Utility struct to register and wake a waker.
|
/// Utility struct to register and wake a waker.
|
||||||
#[derive(Debug)]
|
#[derive(Debug)]
|
||||||
|
|
Loading…
Reference in a new issue