Browse files

usb: fix for fx2_ctrl include issue

  • Loading branch information...
1 parent 3a98692 commit 7951170c6161d9266726ec19e8c009500cf11f75 @guruofquality guruofquality committed Jun 15, 2011
Showing with 3 additions and 4 deletions.
  1. +2 −3 host/lib/usrp/fx2/CMakeLists.txt
  2. +1 −1 host/lib/usrp/usrp1/usrp1_iface.hpp
View
5 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)
View
2 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:

0 comments on commit 7951170

Please sign in to comment.