bug fixed maximum sub exposure time is in 10 ns and not ns

This commit is contained in:
Dhanya Maliakal
2016-02-08 15:25:28 +01:00
parent cf3e736d7e
commit 5029eb0c86
3 changed files with 2 additions and 2 deletions

View File

@ -2518,7 +2518,7 @@ int set_timer(int file_des) {
switch(ind) {
#ifdef EIGERD
case SUBFRAME_ACQUISITION_TIME:
if (tns > MAX_SUBFRAME_EXPOSURE_VAL ){
if (tns > (MAX_SUBFRAME_EXPOSURE_VAL_IN_10NS*10) ){
ret=FAIL;
strcpy(mess,"Sub Frame exposure time should not exceed 5.368 seconds\n");
break;