summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2011-06-14 23:37:35 -0700
committerJosh Blum <josh@joshknows.com>2011-06-14 23:49:27 -0700
commit7951170c6161d9266726ec19e8c009500cf11f75 (patch)
tree576775af2c6627148c62a92564540239c6da4b18
parent3a98692c22bae3027b4586c2d43760ed5fdddd6f (diff)
downloaduhd-7951170c6161d9266726ec19e8c009500cf11f75.tar.gz
uhd-7951170c6161d9266726ec19e8c009500cf11f75.tar.bz2
uhd-7951170c6161d9266726ec19e8c009500cf11f75.zip
usb: fix for fx2_ctrl include issuerelease_003_001_002
-rw-r--r--host/lib/usrp/fx2/CMakeLists.txt5
-rw-r--r--host/lib/usrp/usrp1/usrp1_iface.hpp2
2 files changed, 3 insertions, 4 deletions
diff --git a/host/lib/usrp/fx2/CMakeLists.txt b/host/lib/usrp/fx2/CMakeLists.txt
index 109eea6b7..9d1e15e16 100644
--- a/host/lib/usrp/fx2/CMakeLists.txt
+++ b/host/lib/usrp/fx2/CMakeLists.txt
@@ -16,12 +16,11 @@
#
########################################################################
-IF(ENABLE_USRP1)
+IF(ENABLE_USB)
INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/../firmware/fx2/common)
- INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR})
LIBUHD_APPEND_SOURCES(
${CMAKE_CURRENT_SOURCE_DIR}/fx2_ctrl.cpp
${CMAKE_CURRENT_SOURCE_DIR}/fx2_ctrl.hpp
)
-ENDIF(ENABLE_USRP1)
+ENDIF(ENABLE_USB)
diff --git a/host/lib/usrp/usrp1/usrp1_iface.hpp b/host/lib/usrp/usrp1/usrp1_iface.hpp
index c374149fa..e480c22ea 100644
--- a/host/lib/usrp/usrp1/usrp1_iface.hpp
+++ b/host/lib/usrp/usrp1/usrp1_iface.hpp
@@ -21,7 +21,7 @@
#include <uhd/usrp/mboard_iface.hpp>
#include <boost/shared_ptr.hpp>
#include <boost/utility.hpp>
-#include "fx2_ctrl.hpp"
+#include "../fx2/fx2_ctrl.hpp"
/*!
* The usrp1 interface class: