mirror of
https://github.com/embassy-rs/embassy.git
synced 2024-11-22 06:42:32 +00:00
fix: make inner state send as it's protected critical section
This commit is contained in:
parent
db0f4a0b91
commit
1989c229f9
@ -225,6 +225,8 @@ pub(crate) mod sealed {
|
||||
pub waker: WakerRegistration,
|
||||
}
|
||||
|
||||
unsafe impl Send for InnerState {}
|
||||
|
||||
impl State {
|
||||
pub const fn new() -> Self {
|
||||
Self {
|
||||
|
Loading…
Reference in New Issue
Block a user