Skip to content

Commit a568d11

Browse files
authored
Update capture_ZWO.cpp: Don't check on a bad image.
1 parent 084d112 commit a568d11

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

src/capture_ZWO.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1921,12 +1921,12 @@ long saved_newExposure_us = newExposure_us;
19211921
// TODO: wait for the prior image to finish saving.
19221922
}
19231923
}
1924-
}
19251924

1926-
// See if we should exit.
1927-
if (CG.maxImages > 0 && numExposures >= CG.maxImages) {
1928-
Log(1, "Stopping after %d image%s.", CG.maxImages, CG.maxImages == 1 ? "" : "s");
1929-
closeUp(EXIT_STOP);
1925+
// See if we should exit.
1926+
if (CG.maxImages > 0 && numExposures >= CG.maxImages) {
1927+
Log(1, "Stopping after %d image%s.", CG.maxImages, CG.maxImages == 1 ? "" : "s");
1928+
closeUp(EXIT_STOP);
1929+
}
19301930
}
19311931

19321932
std::string s;

0 commit comments

Comments
 (0)