The last frame number was wrong, it should have been the total number of frames minus the pedestal frames. So one point is added to the end of the affected scans.

This commit is contained in:
redford_s
2018-04-27 13:43:04 +02:00
parent 097c4f40d8
commit 7ddc42bb02

View File

@ -398,13 +398,13 @@ int main(int argc, char* argv[]) {
// new receiver doesn't have this problem
int last_frame = 0;
if (module_str == "032") {
last_frame = 19199;
last_frame = 19199-1920;
} else if (module_str == "008" || module_str == "044") {
last_frame = 24319;
last_frame = 24319-1920;
} else if (module_str == "040") {
last_frame = 21759;
last_frame = 21759-1920;
} else if (module_str == "002" || module_str == "003") {
last_frame = 59519;
last_frame = 59519-1920;
}
if (j%640 == 0 || j == last_frame) {