Skip to content

Commit

Permalink
fix: riot-rs-embassy: silence "Delegate Default missing" warning
Browse files Browse the repository at this point in the history
  • Loading branch information
kaspar030 committed Feb 29, 2024
1 parent e1f3e6a commit 3aac055
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/riot-rs-embassy/src/delegate.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ use crate::sendcell::SendCell;
/// [`with()`](Delegate::with) multiple times
/// each, breaking safety assumptions. So while the API seems OK, the implementation
/// needs work.
#[derive(Default)]
pub struct Delegate<T> {
send: Signal<CriticalSectionRawMutex, SendCell<*mut T>>,
reply: Signal<CriticalSectionRawMutex, ()>,
Expand Down

0 comments on commit 3aac055

Please sign in to comment.