Skip to content
Snippets Groups Projects
Commit cd45a145 authored by Alexandre Abadie's avatar Alexandre Abadie Committed by GitHub
Browse files

Merge pull request #6552 from aabadie/spi_divtable_whitespace

cpu/stm32_common/dist: prevent spi_divtable tool to add a trailing whitespace
parents e586bed0 58aa9eb8
No related branches found
No related tags found
No related merge requests found
......@@ -97,7 +97,7 @@ int main(int argc, char **argv)
printf(" %i%c /* -> %iHz */\n",
br, ((t < (tnum - 1)) ? ',' : ' '), real_clk(apb[bus], br));
}
printf(" }%c\n", ((bus == 0) ? ',' : ' '));
printf(" }%s\n", ((bus == 0) ? "," : ""));
}
puts("};");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment