do_fine_calibration
Status: Alpha
Brought to you by:
adrianpj
I believe there's a bug in hp4200.c - do_fine_calibration
lines 1788-1793 should read...
red_gain_offset[j] = coarse->min_red;
red_gain_offset[j + 1] = corr_red[i] >> 2;
green_gain_offset[j] = coarse->min_green;
green_gain_offset[j + 1] = corr_green[i] >> 2;
blue_gain_offset[j] = coarse->min_blue;
blue_gain_offset[j + 1] = corr_blue[i] >> 2;
ie the j subscripts for corr_green etc should be
replaced by i
Tony Day
Suggested fix for hp4200.c