diff options
| author | Martin Braun <martin.braun@ettus.com> | 2017-08-22 18:11:41 -0700 | 
|---|---|---|
| committer | Martin Braun <martin.braun@ettus.com> | 2017-09-01 07:58:45 -0700 | 
| commit | 1074a68dd7a0fa6d5ca23449446b90302ca755c9 (patch) | |
| tree | 542bb024a4fbcce7255c4b0e9250745c5aeab7b0 /host/include | |
| parent | 6667aa071ecfac7418b49354b25c06a40ff4acfe (diff) | |
| download | uhd-1074a68dd7a0fa6d5ca23449446b90302ca755c9.tar.gz uhd-1074a68dd7a0fa6d5ca23449446b90302ca755c9.tar.bz2 uhd-1074a68dd7a0fa6d5ca23449446b90302ca755c9.zip | |
C API: Dboard EEPROM revision error handling fix
For invalid dboard revisions stored in the EEPROM, provide a better
error message.
Diffstat (limited to 'host/include')
| -rw-r--r-- | host/include/uhd/usrp/dboard_eeprom.h | 6 | 
1 files changed, 5 insertions, 1 deletions
| diff --git a/host/include/uhd/usrp/dboard_eeprom.h b/host/include/uhd/usrp/dboard_eeprom.h index 6980de0ce..f3b9c4d9c 100644 --- a/host/include/uhd/usrp/dboard_eeprom.h +++ b/host/include/uhd/usrp/dboard_eeprom.h @@ -84,7 +84,11 @@ UHD_API uhd_error uhd_dboard_eeprom_set_serial(      const char* serial  ); -//! Get the daughterboard's revision (not always present) +/*! Get the daughterboard's revision + * + * The revision doesn't always have to be present, in which case this function + * will return an error. + */  UHD_API uhd_error uhd_dboard_eeprom_get_revision(      uhd_dboard_eeprom_handle h,      int* revision_out | 
