diff options
Diffstat (limited to 'gr-uhd/include')
-rw-r--r-- | gr-uhd/include/gr_uhd_usrp_sink.h | 6 | ||||
-rw-r--r-- | gr-uhd/include/gr_uhd_usrp_source.h | 6 |
2 files changed, 8 insertions, 4 deletions
diff --git a/gr-uhd/include/gr_uhd_usrp_sink.h b/gr-uhd/include/gr_uhd_usrp_sink.h index 47e815c02..3b4c80879 100644 --- a/gr-uhd/include/gr_uhd_usrp_sink.h +++ b/gr-uhd/include/gr_uhd_usrp_sink.h @@ -29,8 +29,10 @@ #ifndef INCLUDED_UHD_STREAM_HPP namespace uhd{ struct GR_UHD_API stream_args_t{ - stream_args_t(void){} - stream_args_t(const std::string &cpu, const std::string &otw="sc16"){ + stream_args_t( + const std::string &cpu = "", + const std::string &otw = "" + ){ cpu_format = cpu; otw_format = otw; } diff --git a/gr-uhd/include/gr_uhd_usrp_source.h b/gr-uhd/include/gr_uhd_usrp_source.h index 2433d422d..00747f161 100644 --- a/gr-uhd/include/gr_uhd_usrp_source.h +++ b/gr-uhd/include/gr_uhd_usrp_source.h @@ -29,8 +29,10 @@ #ifndef INCLUDED_UHD_STREAM_HPP namespace uhd{ struct GR_UHD_API stream_args_t{ - stream_args_t(void){} - stream_args_t(const std::string &cpu, const std::string &otw="sc16"){ + stream_args_t( + const std::string &cpu = "", + const std::string &otw = "" + ){ cpu_format = cpu; otw_format = otw; } |