Tweaks to enhance performance.

git-svn-id: http://wush.net/svn/range/software/public/openbts/trunk@3127 19bc5d8c-e614-43d4-8b26-e1612bc8e597
This commit is contained in:
Harvind Samra 2012-02-01 18:57:42 +00:00
parent 8a8c1bc33a
commit 39220cc85f
3 changed files with 7 additions and 7 deletions

View file

@ -50,7 +50,7 @@ unsigned char* write_it(unsigned v, unsigned char *s) {
}
const float RAD1Device::LO_OFFSET = 4.0e6;
const float RAD1Device::LO_OFFSET = 6.0e6;
const double RAD1Device::masterClockRate = (double) 52.0e6;
bool RAD1Device::compute_regs(double freq,
@ -68,8 +68,8 @@ bool RAD1Device::compute_regs(double freq,
else {
DIV2 = 0;
freq_mult = 1;
CP1 = 1;
CP2 = 1;
CP1 = 7;
CP2 = 7;
}
double phdet_freq = 13.0e6/(double) R_DIV;