diff --git a/cpu/stm32_common/dist/spi_divtable/spi_divtable.c b/cpu/stm32_common/dist/spi_divtable/spi_divtable.c index 70eed10901c52bfbf295424b621c543f59b2d35f..2086bc8706df5ccf717b5729eb0a5b0141799554 100644 --- a/cpu/stm32_common/dist/spi_divtable/spi_divtable.c +++ b/cpu/stm32_common/dist/spi_divtable/spi_divtable.c @@ -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("};");