diff options
author | Kjell Irgens <hextremist@gmail.com> | 2016-07-05 23:18:16 +0200 |
---|---|---|
committer | Kjell Irgens <hextremist@gmail.com> | 2016-07-05 23:22:13 +0200 |
commit | 48f5176e35b3ab69e5df650f1971dec295fc2b18 (patch) | |
tree | 238771c86fbb00378800568379fdc021f175e1ad | |
parent | 003e401b6b76bc8ae445b0c152f7ff41d1eaab5e (diff) | |
download | colord-48f5176e35b3ab69e5df650f1971dec295fc2b18.tar.gz |
Increase timeout to 60s for argyll spotread sampling
There was a 10s timeout for spotread to finish sampling. This works
fine for light colors, in which case it may finish in as little as 3
seconds. But the darker the color is, the longer it takes to finish.
When measuring black, it takes around 25-30 seconds for my Spyder 3
Express.
The timeout caused Gnome Control Panel to fail when attempting to
calibrate.
-rw-r--r-- | src/sensors/cd-sensor-argyll.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sensors/cd-sensor-argyll.c b/src/sensors/cd-sensor-argyll.c index 3d35830..3151186 100644 --- a/src/sensors/cd-sensor-argyll.c +++ b/src/sensors/cd-sensor-argyll.c @@ -31,7 +31,7 @@ #include "cd-sensor.h" #include "cd-spawn.h" -#define CD_SENSOR_ARGYLL_MAX_SAMPLE_TIME 10000 /* ms */ +#define CD_SENSOR_ARGYLL_MAX_SAMPLE_TIME 60000 /* ms */ typedef enum { CD_SENSOR_ARGYLL_POS_UNKNOWN, |