Device macro to generate stateful and publish variants of device specific poll inputs.
This commit is contained in:
@ -108,9 +108,7 @@ pub fn poll_variant_macro(input: TokenStream) -> TokenStream {
|
||||
// If there are lifetimes and other generics
|
||||
} else {
|
||||
// Insert MutexT after the lifetimes
|
||||
publish_generics
|
||||
.params
|
||||
.insert(num_lifetimes, mutex_t_param);
|
||||
publish_generics.params.insert(num_lifetimes, mutex_t_param);
|
||||
}
|
||||
// If there are no generics
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user