summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlex Deucher <alex@botch2.com>2007-03-11 15:53:29 -0400
committerAlex Deucher <alex@botch2.com>2007-03-13 00:17:30 -0400
commit9db380c99decdb9ab7fbf481788a5b63a84cd6e0 (patch)
tree4cedd5dd1147c4e094e6fdf7dd09e90dbbc1da54 /src
parentb6082e628289221864e96ebc41ce93d8efe2d2ce (diff)
fix postscalar shift
Diffstat (limited to 'src')
-rw-r--r--src/smi_dac.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/smi_dac.c b/src/smi_dac.c
index 1df1cbf..9fda7fa 100644
--- a/src/smi_dac.c
+++ b/src/smi_dac.c
@@ -90,7 +90,7 @@ SMI_CommonCalcClock(int scrnIndex, long freq, int min_m, int min_n1,
((double)(best_m) / (double)(best_n1) / (1 << best_n2)) * BASE_FREQ,
best_m, best_n1, best_n2));
- *ndiv = best_n1 | (best_n2 << 6);
+ *ndiv = best_n1 | (best_n2 << 7);
*mdiv = best_m;
}