X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=gnuradio-core%2Fsrc%2Flib%2Fio%2Fmicrotune_4702.cc;h=59c88e26eeccf626ae800e482a953add2b54fccc;hb=ea29b08aeb54227e6628f655ccfdb96fe4d8c378;hp=01fe450fd98f6343fcf5fbb327e9f5c9aeaa20d2;hpb=09a1e803a9e6587c78d20cdf16891e5295874668;p=debian%2Fgnuradio diff --git a/gnuradio-core/src/lib/io/microtune_4702.cc b/gnuradio-core/src/lib/io/microtune_4702.cc index 01fe450f..59c88e26 100644 --- a/gnuradio-core/src/lib/io/microtune_4702.cc +++ b/gnuradio-core/src/lib/io/microtune_4702.cc @@ -151,7 +151,7 @@ microtune_4702::set_RF_freq (double target_freq, double *p_actual_freq) buf[0] = ((divisor & 0x07f00) >> 8) & 0xff; // DB1 buf[1] = divisor & 0xff; // DB2 buf[2] = control_byte_1 (d_prescaler, d_reference_divider); - buf[2] = (buf[2]|(((divisor & 0x18000) >> 10)) & 0xff); + buf[2] = buf[2] | (((divisor & 0x18000) >> 10) & 0xff); buf[3] = control_byte_2 (target_freq); printf ("%x\n", PLL_I2C_ADDR);