File tree 1 file changed +7
-2
lines changed
1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -284,7 +284,12 @@ pub fn pio_file(item: TokenStream) -> TokenStream {
284
284
Err ( e) => return parse_error ( e, & args. program ) . into ( ) ,
285
285
} ;
286
286
287
- to_codegen ( program, args. max_program_size , args. file_path . into_os_string ( ) . into_string ( ) . ok ( ) ) . into ( )
287
+ to_codegen (
288
+ program,
289
+ args. max_program_size ,
290
+ args. file_path . into_os_string ( ) . into_string ( ) . ok ( ) ,
291
+ )
292
+ . into ( )
288
293
}
289
294
290
295
/// A macro which invokes the PIO assembler at compile time.
@@ -390,7 +395,7 @@ fn to_codegen(
390
395
// a recompile. Should be replaced by
391
396
// `proc_macro::tracked_path::path` when it is stable.
392
397
let dummy_include = match file {
393
- Some ( file_path) => quote ! { let _ = include_bytes!( #file_path ) ; } ,
398
+ Some ( file_path) => quote ! { let _ = include_bytes!( #file_path ) ; } ,
394
399
None => quote ! ( ) ,
395
400
} ;
396
401
quote ! {
You can’t perform that action at this time.
0 commit comments