summaryrefslogtreecommitdiff
path: root/spectro/instappsup.c
diff options
context:
space:
mode:
Diffstat (limited to 'spectro/instappsup.c')
-rw-r--r--spectro/instappsup.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/spectro/instappsup.c b/spectro/instappsup.c
index 67849c7..c83c953 100644
--- a/spectro/instappsup.c
+++ b/spectro/instappsup.c
@@ -317,6 +317,19 @@ inst_code inst_handle_calibrate(
}
break;
+ case inst_calc_emis_80pc:
+ if (disp_setup == NULL || dwi == NULL) { /* No way of creating a test window */
+ printf("Place the instrument on a 80%% white test patch,\n");
+ printf(" and then hit any key to continue,\n");
+ printf(" or hit Esc or Q to abort: ");
+ } else {
+ /* We need to display a 80% white patch to proceed with this */
+ /* type of calibration */
+ if ((rv = disp_setup(p, calc, dwi)) != inst_ok)
+ return rv;
+ }
+ break;
+
case inst_calc_emis_grey:
case inst_calc_emis_grey_darker:
case inst_calc_emis_grey_ligher: