diff options
author | eb <eb@221aa14e-8319-0410-a670-987f0aec2ac5> | 2008-10-26 23:50:51 +0000 |
---|---|---|
committer | eb <eb@221aa14e-8319-0410-a670-987f0aec2ac5> | 2008-10-26 23:50:51 +0000 |
commit | a538f5aa702bb3ee2a9e6bb9ac3ef1a2988ed36b (patch) | |
tree | f6d8661200041fac861ed702a752aa8ed70fb20c /usrp2/firmware/lib/db_init.c | |
parent | 267cd744dda0cc857b623060023c658cf97b48f4 (diff) |
Deadly printfs turned off... Specified gain ranges for TV Rx and RFX boards.
Still a problem setting the gain; Firmware takes too long to get back
to service ethernet.
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@9860 221aa14e-8319-0410-a670-987f0aec2ac5
Diffstat (limited to 'usrp2/firmware/lib/db_init.c')
-rw-r--r-- | usrp2/firmware/lib/db_init.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/usrp2/firmware/lib/db_init.c b/usrp2/firmware/lib/db_init.c index 160ed29424..6a70d19fc0 100644 --- a/usrp2/firmware/lib/db_init.c +++ b/usrp2/firmware/lib/db_init.c @@ -123,6 +123,10 @@ lookup_dboard(int i2c_addr, struct db_base *default_db, char *msg) { struct db_base *db; int dbid = read_dboard_eeprom(i2c_addr); + + // FIXME removing this printf has the system hang if there are two d'boards + // installed. (I think the problem is in i2c_read/write or the way + // I kludge the zero-byte write to set the read address in eeprom_read.) printf("%s dbid: 0x%x\n", msg, dbid); if (dbid < 0){ // there was some kind of problem. Treat as Basic Tx @@ -250,7 +254,7 @@ db_init(void) rx_dboard->init(rx_dboard); m = determine_rx_mux_value(rx_dboard); dsp_rx_regs->rx_mux = m; - printf("rx_mux = 0x%x\n", m); + //printf("rx_mux = 0x%x\n", m); } /*! |