summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;
}