Skip to content
Browse files

Modified FPGA bitfile path on windows

  • Loading branch information...
1 parent 27bfb5a commit ec916fdcf8cb980111228db2a743beae3068c2a8 unknown committed
Showing with 5 additions and 0 deletions.
  1. +5 −0 Source/Processors/DataThreads/FPGAThread.cpp
  2. BIN windeps/dll/okFrontPanel.dll
View
5 Source/Processors/DataThreads/FPGAThread.cpp
@@ -36,8 +36,13 @@ FPGAThread::FPGAThread(SourceNode* sn) : DataThread(sn),
//const char* bitfilename = "./pipetest.bit";
+#ifdef _WIN32
+ const char* bitfilename = "pipetest.bit";
+ const char* libname = NULL;
+#else
const char* bitfilename = "/Users/Josh/Programming/open-ephys/GUI/Resources/DLLs/pipetest.bit";
const char* libname = "/Users/Josh/Programming/open-ephys/GUI/Resources/DLLs/libokFrontPanel.dylib";
+#endif
if (!okFrontPanelDLL_LoadLib(libname)) {
printf("FrontPanel DLL could not be loaded.\n");
View
BIN windeps/dll/okFrontPanel.dll
Binary file not shown.

0 comments on commit ec916fd

Please sign in to comment.
Something went wrong with that request. Please try again.