diff options
author | zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-06-23 22:44:17 +0000 |
---|---|---|
committer | zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-06-23 22:44:17 +0000 |
commit | 8959de9f679cfd0436d731fd91b88a68b9a75fa6 (patch) | |
tree | 8d9bc182b4adc0e718ffafdbd12469d8c8bb14d9 /src/flash/mflash.c | |
parent | 84df52f9ea78e2d71bde648a16b69d80404c6421 (diff) | |
download | riscv-openocd-8959de9f679cfd0436d731fd91b88a68b9a75fa6.zip riscv-openocd-8959de9f679cfd0436d731fd91b88a68b9a75fa6.tar.gz riscv-openocd-8959de9f679cfd0436d731fd91b88a68b9a75fa6.tar.bz2 |
- Fixes '+' whitespace
- Replace ')\(+\)(' with ') \1 ('.
- Replace ')\(+\)\(\w\)' with ') \1 \2'.
- Replace '\(\w\)\(+\)(' with '\1 \2 ('.
- Replace '\(\w\)\(+\)\(\w\)' with '\1 \2 \3'.
git-svn-id: svn://svn.berlios.de/openocd/trunk@2373 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/flash/mflash.c')
-rw-r--r-- | src/flash/mflash.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/flash/mflash.c b/src/flash/mflash.c index 328e957..25b9f09 100644 --- a/src/flash/mflash.c +++ b/src/flash/mflash.c @@ -923,7 +923,7 @@ static double mg_do_calc_pll(double XIN, mg_pll_t * p_pll_val, int is_approximat CLK_OUT = XIN * ((double)M / N) / NO; - if ((int)((CLK_OUT+ROUND) / DIV) + if ((int)((CLK_OUT + ROUND) / DIV) == (int)(MG_PLL_CLK_OUT / DIV)) { if (mg_is_valid_pll(XIN, N, CLK_OUT, NO) == ERROR_OK) { |