Revision fb955a50 host/lib/usrp/dboard/db_wbx.cpp

b/host/lib/usrp/dboard/db_wbx.cpp
86 86
 **********************************************************************/
87 87
static const bool wbx_debug = false;
88 88

  
89
static const freq_range_t wbx_freq_range(50e6, 2.22e9);
89
static const freq_range_t wbx_freq_range(68.75e6, 2.2e9);
90 90

  
91 91
static const prop_names_t wbx_tx_antennas = list_of("TX/RX");
92 92

  
......
328 328

  
329 329
    //clip the input
330 330
    target_freq = std::clip(target_freq, wbx_freq_range.min, wbx_freq_range.max);
331
    //return the clipped frequency
332
    std::cerr << boost::format(
333
        "WBX tune: target frequency %f Mhz"
334
    ) % (target_freq/1e6) << std::endl;
331 335

  
332 336
    //map prescaler setting to mininmum integer divider (N) values (pg.18 prescaler)
333 337
    static const uhd::dict<int, int> prescaler_to_min_int_div = map_list_of
......
439 443
    regs.reference_divide_by_2 = T;
440 444
    regs.reference_doubler = D;
441 445
    regs.band_select_clock_div = BS;
446
    UHD_ASSERT_THROW(rfdivsel_to_enum.has_key(RFdiv));
442 447
    regs.rf_divider_select = rfdivsel_to_enum[RFdiv];
443 448

  
444 449
    //write the registers

Also available in: Unified diff