Skip to content

Commit

Permalink
Revert change from tokens to items
Browse files Browse the repository at this point in the history
  • Loading branch information
James Munns committed Dec 6, 2018
1 parent 87ab5af commit f0d42a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ fn run() -> Result<()> {
let mut device_x = String::new();
let items = generate::device::render(&device, &target, nightly, &mut device_x)?;

writeln!(File::create("lib.rs").unwrap(), "{}", quote!(#(#tokens)*)).unwrap();
writeln!(File::create("lib.rs").unwrap(), "{}", quote!(#(#items)*)).unwrap();

if target == Target::CortexM {
writeln!(File::create("device.x").unwrap(), "{}", device_x).unwrap();
Expand Down

0 comments on commit f0d42a2

Please sign in to comment.