diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2021-05-18 07:43:35 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2021-05-18 07:43:35 +0200 |
commit | 9f8889f928ce86ba4a78659d378c6ba29bc9f735 (patch) | |
tree | c9567cb0d015b68ce3da8d03472b6443f1cb1ca9 /backend/mustek_usb_high.c | |
parent | 446e9454b8cbe5b689149415d11d36e88442ca88 (diff) | |
parent | 154785ab2d5df7ddc8c2cf813b773c340e5e2aea (diff) |
Merge branch 'release/debian/1.0.32-1'debian/1.0.32-1
Diffstat (limited to 'backend/mustek_usb_high.c')
-rw-r--r-- | backend/mustek_usb_high.c | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/backend/mustek_usb_high.c b/backend/mustek_usb_high.c index bf7807e..7b03475 100644 --- a/backend/mustek_usb_high.c +++ b/backend/mustek_usb_high.c @@ -18,9 +18,7 @@ General Public License for more details. You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, - MA 02111-1307, USA. + along with this program. If not, see <https://www.gnu.org/licenses/>. As a special exception, the authors of SANE give permission for additional uses of the libraries contained in this release of SANE. @@ -279,7 +277,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 +326,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 +2177,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 +2273,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 +2293,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; |