-
Notifications
You must be signed in to change notification settings - Fork 19
Closed
Milestone
Description
Hi, I have issues with getting the following code to compile as I am unable to get the correct traits needed.
Could you assist here @PTaylor-us ?
pub fn spawn_after<D: embedded_time::duration::Duration>(duration: D) -> Result<(), ()> {
let instant = <MyClock as rtic::Monotonic>::now(); // Return an Instant<MyClock>
// This addition seems to be the issue
spawn_at(instant + duration, #(,#untupled)*)
}Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels