Skip to content

Commit fffff98

Browse files
committed
fix: Local spawn outside app module
1 parent c4cfa07 commit fffff98

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rtic-macros/src/codegen/module.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ pub fn codegen(ctxt: Context, app: &App, analysis: &Analysis) -> TokenStream2 {
238238
.collect::<Vec<_>>();
239239
values.push(quote!(local_spawner: #local_spawner { _p: core::marker::PhantomData }));
240240
items.push(quote! {
241-
struct #local_spawner {
241+
pub struct #local_spawner {
242242
_p: core::marker::PhantomData<*mut ()>,
243243
}
244244

0 commit comments

Comments
 (0)