Skip to content

Commit

Permalink
Revert "Add more checks for filter wheel since it fails half the time"
Browse files Browse the repository at this point in the history
This reverts commit c2b7ced.
  • Loading branch information
knro committed Nov 29, 2022
1 parent c2b7ced commit 4d374c0
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions indi-qhy/qhy_ccd.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -949,11 +949,6 @@ bool QHYCCD::Connect()
for (int i = 0; i < 3; i++)
{
ret = IsQHYCCDCFWPlugged(m_CameraHandle);

// Add yet another check
if (ret != QHYCCD_SUCCESS)
ret = IsQHYCCDControlAvailable(m_CameraHandle, CONTROL_CFWPORT);

if (ret == QHYCCD_SUCCESS)
{
HasFilters = true;
Expand Down Expand Up @@ -988,7 +983,7 @@ bool QHYCCD::Connect()
break;
}

std::this_thread::sleep_for(std::chrono::milliseconds(250));
std::this_thread::sleep_for(std::chrono::milliseconds(200));
}

if (HasFilters == true)
Expand Down

0 comments on commit 4d374c0

Please sign in to comment.