Skip to content

Commit

Permalink
Improve the camera test by unbinding the USB in case its gets stuck d…
Browse files Browse the repository at this point in the history
…uring exposure
  • Loading branch information
knro committed Jan 8, 2025
1 parent 584fb33 commit f887316
Show file tree
Hide file tree
Showing 3 changed files with 249 additions and 114 deletions.
2 changes: 1 addition & 1 deletion indi-asi/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ IF (APPLE)
set(CMAKE_EXE_LINKER_FLAGS "-framework IOKit -framework CoreFoundation")
target_link_libraries(asi_camera_test ${ASI_LIBRARIES} ${LIBUSB_LIBRARIES})
ELSE()
target_link_libraries(asi_camera_test ${ASI_LIBRARIES} ${USB1_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT})
target_link_libraries(asi_camera_test ${ASI_LIBRARIES} ${USB1_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT} usb-1.0)
ENDIF()

#####################################
Expand Down
Loading

0 comments on commit f887316

Please sign in to comment.