Skip to content

Commit

Permalink
bugfix: mistaking AAF for camera (#988)
Browse files Browse the repository at this point in the history
  • Loading branch information
touptek authored Oct 8, 2024
1 parent af4a69f commit 0d0df20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion indi-toupbase/indi_toupbase.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ static class Loader

for (int i = 0; i < iConnectedCount; i++)
{
if (0 == (CP(FLAG_FILTERWHEEL) & pCameraInfo[i].model->flag))
if ((CP(FLAG_CCD_INTERLACED) | CP(FLAG_CCD_PROGRESSIVE) | CP(FLAG_CMOS)) & pCameraInfo[i].model->flag)
cameras.push_back(std::unique_ptr<ToupBase>(new ToupBase(&pCameraInfo[i], names[i])));
}
if (cameras.empty())
Expand Down

0 comments on commit 0d0df20

Please sign in to comment.