Device macro to generate stateful and publish variants of device specific poll inputs.

This commit is contained in:
Zachary Sunforge
2023-06-20 19:34:10 -07:00
parent 831fc74472
commit e3c44bde10

View File

@ -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 {