summaryrefslogtreecommitdiff
path: root/usrp2/firmware/lib
diff options
context:
space:
mode:
Diffstat (limited to 'usrp2/firmware/lib')
-rw-r--r--usrp2/firmware/lib/db_init.c2
-rw-r--r--usrp2/firmware/lib/hal_io.h6
2 files changed, 1 insertions, 7 deletions
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 <none> or -2 <invalid eeprom contents>
*/
-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);