1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

Merge pull request #6552 from aabadie/spi_divtable_whitespace

cpu/stm32_common/dist: prevent spi_divtable tool to add a trailing whitespace
This commit is contained in:
Alexandre Abadie 2017-02-03 18:32:58 +01:00 committed by GitHub
commit cd45a145de

View File

@ -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("};");