From 2333a30341cbb337f8d5dc49d48b8d2dd2b886c7 Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Thu, 16 Feb 2017 14:39:38 -0800 Subject: uhd: Replace clocking_mode_t unscoped enum with scoped version This is not a functional change, but it marks the usage of scoped enums in UHD. Commits past this one may also use this C++11 feature. --- host/lib/usrp/b200/b200_impl.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'host/lib/usrp/b200') diff --git a/host/lib/usrp/b200/b200_impl.cpp b/host/lib/usrp/b200/b200_impl.cpp index 62f0c2f59..fd87cf24a 100644 --- a/host/lib/usrp/b200/b200_impl.cpp +++ b/host/lib/usrp/b200/b200_impl.cpp @@ -60,7 +60,7 @@ public: } } clocking_mode_t get_clocking_mode() { - return AD9361_XTAL_N_CLK_PATH; + return clocking_mode_t::AD9361_XTAL_N_CLK_PATH; } digital_interface_mode_t get_digital_interface_mode() { return AD9361_DDR_FDD_LVCMOS; @@ -88,7 +88,7 @@ public: } } clocking_mode_t get_clocking_mode() { - return AD9361_XTAL_N_CLK_PATH; + return clocking_mode_t::AD9361_XTAL_N_CLK_PATH; } digital_interface_mode_t get_digital_interface_mode() { return AD9361_DDR_FDD_LVCMOS; -- cgit v1.2.3