aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/b100
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2013-02-13 12:32:12 -0800
committerJosh Blum <josh@joshknows.com>2013-02-13 12:37:20 -0800
commit756eb4df51c7a52710249c22ab274450f6ee3bc9 (patch)
tree7dbb455571c4483572229401e1873235c3cae7cd /host/lib/usrp/b100
parent3cb515f73a8c3a1a568b23bd57265c7bfd266c21 (diff)
downloaduhd-756eb4df51c7a52710249c22ab274450f6ee3bc9.tar.gz
uhd-756eb4df51c7a52710249c22ab274450f6ee3bc9.tar.bz2
uhd-756eb4df51c7a52710249c22ab274450f6ee3bc9.zip
b100: added fw version property to query
Diffstat (limited to 'host/lib/usrp/b100')
-rw-r--r--host/lib/usrp/b100/b100_impl.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/host/lib/usrp/b100/b100_impl.cpp b/host/lib/usrp/b100/b100_impl.cpp
index c4d050242..b3237d547 100644
--- a/host/lib/usrp/b100/b100_impl.cpp
+++ b/host/lib/usrp/b100/b100_impl.cpp
@@ -516,6 +516,7 @@ void b100_impl::check_fw_compat(void){
"%s"
) % B100_FW_COMPAT_NUM % fw_compat_num % print_images_error()));
}
+ _tree->create<std::string>("/mboards/0/fw_version").set(str(boost::format("%u.0") % fw_compat_num));
}
void b100_impl::check_fpga_compat(void){