Commit f46f443e authored by Éric Thiébaut's avatar Éric Thiébaut
Browse files

Quick fix for Apogee cameras

parent 2f610e8d
......@@ -1403,8 +1403,10 @@ static tao_status update_pixel_encodings(
return TAO_ERROR;
}
if (cnt > ANDOR_MAX_ENCODINGS) {
tao_store_error(__func__, TAO_OUT_OF_RANGE);
return TAO_ERROR;
fprintf(stderr, "Warning: Fix ANDOR_MAX_ENCODINGS to be %d\n", cnt);
cnt = ANDOR_MAX_ENCODINGS;
//tao_store_error(__func__, TAO_OUT_OF_RANGE);
//return TAO_ERROR;
}
for (int idx = 0; idx < cnt; ++idx) {
status = AT_GetEnumStringByIndex(dev->handle, L"PixelEncoding",
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment