Re: [Canonscanner-devel] CanoScan N670U does not work anymore after last cvs-update
Status: Alpha
Brought to you by:
volodya
From: Johann P. <joh...@we...> - 2002-11-08 19:03:31
|
Hi everyone, I think I have found Christian's problem: Please replace the function "void init_model_parms(CANON_USB_Handle *c_h)" in favour of the following version: void init_model_parms(CANON_USB_Handle *c_h) { if (!strcmp(c_h->dev->model, "N1240U") || !strcmp(c_h->dev->model, "N1220U") { c_h->model_parms[PAR_MAX_HZ_RES].i = 1200; return; } if (!strcmp(c_h->dev->model, "N670U / N676U") || !strcmp(c_h->dev->model, "N650U / N656U")) { c_h->model_parms[PAR_MAX_HZ_RES].i = 600; return; } DBG(0, "init_model_parms: Couldn't set c_h->model_parms[PAR_MAX_HZ_RES].i for model %s\n", c_h->dev->model); } Sorry for my long lines in the code... Johann |