From 00c497b43ffe6d2f0b41163a8620e9ed94780231 Mon Sep 17 00:00:00 2001 From: Michael West Date: Tue, 14 Apr 2015 09:52:23 -0500 Subject: dboards: Fixed type deduction for older compilers on max287x code --- host/lib/usrp/common/max287x.hpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'host') diff --git a/host/lib/usrp/common/max287x.hpp b/host/lib/usrp/common/max287x.hpp index ee1dbb946..aa80600f7 100644 --- a/host/lib/usrp/common/max287x.hpp +++ b/host/lib/usrp/common/max287x.hpp @@ -263,7 +263,7 @@ private: class max2870 : public max287x { public: - max2870(write_fn func) : max287x(func) {} + max2870(write_fn func) : max287x(func) {} ~max2870() {} double set_frequency( double target_freq, @@ -276,13 +276,13 @@ public: max2870_regs_t::FEEDBACK_SELECT_DIVIDED : max2870_regs_t::FEEDBACK_SELECT_FUNDAMENTAL; - return max287x::set_frequency(target_freq, ref_freq, target_pfd_freq, is_int_n); + return max287x::set_frequency(target_freq, ref_freq, target_pfd_freq, is_int_n); } void commit(void) { // For MAX2870, we always need to write all registers. _write_all_regs = true; - max287x::commit(); + max287x::commit(); } }; @@ -292,7 +292,7 @@ public: class max2871 : public max287x { public: - max2871(write_fn func) : max287x(func) {} + max2871(write_fn func) : max287x(func) {} ~max2871() {}; void set_muxout_mode(muxout_mode_t mode) { @@ -305,7 +305,7 @@ public: _regs.muxout = max2871_regs_t::MUXOUT_SPI; break; default: - max287x::set_muxout_mode(mode); + max287x::set_muxout_mode(mode); } } @@ -316,7 +316,7 @@ public: bool is_int_n) { _regs.feedback_select = max2871_regs_t::FEEDBACK_SELECT_DIVIDED; - double freq = max287x::set_frequency(target_freq, ref_freq, target_pfd_freq, is_int_n); + double freq = max287x::set_frequency(target_freq, ref_freq, target_pfd_freq, is_int_n); // According to Maxim support, the following factors must be true to allow for synchronization if (_regs.r_counter_10_bit == 1 and -- cgit v1.2.3