diff options
author | Nicholas Corgan <nick.corgan@ettus.com> | 2015-08-07 10:25:27 -0700 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2015-08-07 11:23:59 -0700 |
commit | f1ebf688291a8f3026940125b2af50e069272fd8 (patch) | |
tree | ee5811707fd80e82d68fb1167e8e36ca6bb67dd0 /host/tests/eeprom_c_test.c | |
parent | c2827e9a0bcfe9c2dd2e4dd5d68f895384564ec6 (diff) | |
download | uhd-f1ebf688291a8f3026940125b2af50e069272fd8.tar.gz uhd-f1ebf688291a8f3026940125b2af50e069272fd8.tar.bz2 uhd-f1ebf688291a8f3026940125b2af50e069272fd8.zip |
C API: feature additions, bugfixes
* Wrapped uhd::device_addrs_t, added find functions for multi_usrp, multi_usrp_clock
* Replaced getopt with public domain implementation
* Minor bugfixes
Diffstat (limited to 'host/tests/eeprom_c_test.c')
-rw-r--r-- | host/tests/eeprom_c_test.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/host/tests/eeprom_c_test.c b/host/tests/eeprom_c_test.c index 0f03295e8..1b29dfd44 100644 --- a/host/tests/eeprom_c_test.c +++ b/host/tests/eeprom_c_test.c @@ -140,12 +140,14 @@ int main(){ uhd_dboard_eeprom_last_error(db_eeprom, str_buffer, BUFFER_SIZE); fprintf(stderr, "db_eeprom error: %s\n", str_buffer); } + uhd_dboard_eeprom_free(&db_eeprom); free_mboard_eeprom: if(return_code){ uhd_mboard_eeprom_last_error(mb_eeprom, str_buffer, BUFFER_SIZE); fprintf(stderr, "mb_eeprom error: %s\n", str_buffer); } + uhd_mboard_eeprom_free(&mb_eeprom); end_of_test: if(!return_code){ |