From 976df9d40be11a16900464a7ef44603856f0c5a1 Mon Sep 17 00:00:00 2001 From: eb Date: Thu, 5 Mar 2009 01:21:44 +0000 Subject: New standalone firmware, burn_dbsrx_eeprom, that burns new dbid into modified DBS Rx daughterboard. git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@10560 221aa14e-8319-0410-a670-987f0aec2ac5 --- usrp2/firmware/lib/db_init.c | 2 +- usrp2/firmware/lib/hal_io.h | 6 ------ 2 files changed, 1 insertion(+), 7 deletions(-) (limited to 'usrp2/firmware/lib') diff --git a/usrp2/firmware/lib/db_init.c b/usrp2/firmware/lib/db_init.c index 0aef75e57..f54fc0ae3 100644 --- a/usrp2/firmware/lib/db_init.c +++ b/usrp2/firmware/lib/db_init.c @@ -104,7 +104,7 @@ read_raw_dboard_eeprom (unsigned char *buf, int i2c_addr) /* * Return DBID, -1 or -2 */ -static int +int read_dboard_eeprom(int i2c_addr) { unsigned char buf[DB_EEPROM_CLEN]; diff --git a/usrp2/firmware/lib/hal_io.h b/usrp2/firmware/lib/hal_io.h index 5ffebf57b..a49750a6d 100644 --- a/usrp2/firmware/lib/hal_io.h +++ b/usrp2/firmware/lib/hal_io.h @@ -91,12 +91,6 @@ int hal_gpio_read(int bank); * ------------------------------------------------------------------------ */ -#define LED_0 0x0001 -#define LED_1 0x0002 -#define LED_3 0x0004 -#define LED_4 0x0008 -#define LED_ETH_CONN 0x0010 - void hal_set_leds(int value, int mask); void hal_toggle_leds(int mask); -- cgit