Browse Source

cpu/stm32_common/dist: prevent spi_divtable tool to add a trailing whitespace

patch-1
Alexandre Abadie 6 years ago
parent
commit
58aa9eb8bd
  1. 2
      cpu/stm32_common/dist/spi_divtable/spi_divtable.c

2
cpu/stm32_common/dist/spi_divtable/spi_divtable.c vendored

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

Loading…
Cancel
Save