spelling fixes for mustek_usb backend

merge-requests/540/head
Peter Marschall 2020-08-28 18:32:54 +02:00
rodzic 6cb28ca627
commit bd081d3bbe
3 zmienionych plików z 13 dodań i 13 usunięć

Wyświetl plik

@ -95,7 +95,7 @@ static Mustek_Usb_Device **new_dev;
/* Length of new_dev array */
static SANE_Int new_dev_len;
/* Number of entries alloced for new_dev */
/* Number of entries allocated for new_dev */
static SANE_Int new_dev_alloced;
static SANE_String_Const mode_list[6];

Wyświetl plik

@ -279,7 +279,7 @@ usb_high_cal_setup (Calibrator * cal, SANE_Word major_average,
SANE_Status
usb_high_cal_evaluate_white (Calibrator * cal, double factor)
{
/* Caculate white_line */
/* Calculate white_line */
double loop_division;
double average;
SANE_Int *buffer;
@ -328,7 +328,7 @@ usb_high_cal_evaluate_dark (Calibrator * cal, double factor)
double loop_division;
DBG (5, "usb_high_cal_evaluate_dark: start\n");
/* Caculate dark_line */
/* Calculate dark_line */
factor *= 16.0;
loop_division = (double) (cal->major_average * cal->minor_average);
for (i = 0; i < cal->width; i++)
@ -2179,7 +2179,7 @@ usb_high_scan_calibration_rgb_24 (Mustek_Usb_Device * dev)
dev->skips_per_row)));
}
RIE (usb_low_stop_rowing (dev->chip));
/* Caculate average */
/* Calculate average */
RIE (usb_high_cal_evaluate_white (dev->green_calibrator,
dev->init_green_factor));
RIE (usb_high_cal_evaluate_white (dev->blue_calibrator,
@ -2275,7 +2275,7 @@ usb_high_scan_calibration_mono_8 (Mustek_Usb_Device * dev)
dev->skips_per_row)));
}
RIE (usb_low_stop_rowing (dev->chip));
/* Caculate average */
/* Calculate average */
RIE (usb_high_cal_evaluate_white (dev->mono_calibrator,
dev->init_gray_factor));
@ -2295,10 +2295,10 @@ usb_high_scan_calibration_mono_8 (Mustek_Usb_Device * dev)
}
RIE (usb_low_stop_rowing (dev->chip));
RIE (usb_low_turn_lamp_power (dev->chip, SANE_TRUE));
/* Caculate Green Black */
/* Calculate Green Black */
RIE (usb_high_cal_evaluate_dark (dev->mono_calibrator,
dev->init_gray_black_factor));
/* Caculate Mapping */
/* Calculate Mapping */
RIE (usb_high_cal_evaluate_calibrator (dev->mono_calibrator));
DBG (5, "usb_high_scan_calibration_mono_8: exit\n");
return SANE_STATUS_GOOD;

Wyświetl plik

@ -7,7 +7,7 @@ CHANGES for the SANE Mustek USB backend
* Added workaround for data0 toggle bug. I think this is a bug in the
chipset. The chipset doesn't set the toggle to data0 when the endpoints
are reset. As this is done whenever the device files/libusb is closed,
this backend worked ony once. Now we count the number of URBs and
this backend worked only once. Now we count the number of URBs and
just read/write some crap if the number is odd.
2003-09-21
@ -20,7 +20,7 @@ CHANGES for the SANE Mustek USB backend
* Release of version 1.0-16.
2003-02-22:
* Iniatialize global variables explicitely.
* Iniatialize global variables explicitly.
* Mention ma1509.
2002-11-20:
@ -78,7 +78,7 @@ CHANGES for the SANE Mustek USB backend
2002-03-16:
* mustek_usb.c: Fixed segfault when opening device again after closing.
* mustek_usb.c: Fixed possible segfault when name="".
* mustek_usb.c: Type for option 0 must be set to SANE_TYPE_INT explicitely.
* mustek_usb.c: Type for option 0 must be set to SANE_TYPE_INT explicitly.
2002-02-14:
* Fixed some problems with wrong formats in DBG statements.
@ -126,7 +126,7 @@ CHANGES for the SANE Mustek USB backend
2001-11-14
* Added 600 USB detection. No support at all yet.
* Removed unneccessary calls to usb_low_open and usb_low_close. This
* Removed unnecessary calls to usb_low_open and usb_low_close. This
fixed the FreeBSD problems.
* Updated all SANE comments ("1200UB and similar").
@ -161,7 +161,7 @@ CHANGES for the SANE Mustek USB backend
2001-09-13
* Added check for negative width and height.
* Changed status to NEW (internaly: beta).
* Changed status to NEW (internally: beta).
* Added check for too high gamma values (xscanimage is buggy).
* Return SANE_STATUS_CANCELLED in sane_read if scan was cancelled.
* Updated manual page.
@ -289,7 +289,7 @@ CHANGES for the SANE Mustek USB backend
* Check vendor/product directly after sane_open.
2001-08-06
* Added scan buffer. It's used if the buffer suplied with sane_read is
* Added scan buffer. It's used if the buffer supplied with sane_read is
smaller than one scan line.
2001-08-06