From c07d0c2d2f6f7b0eb6e92cc6204bf05037957e82 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Mon, 1 Sep 2014 15:43:52 +0200 Subject: Imported Upstream version 1.6.3 --- spectro/instappsup.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'spectro/instappsup.c') 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: -- cgit v1.2.3