Olaf Meeuwissen
23891a2646
.editorconfig: trim trailing whitespace
2017-05-29 21:14:29 +09:00
m. allan noah
e6a249e042
revert mustek_usb2 backend upgrade
...
Instead of 100+ revert commits, I've lumped everything into a
single commit. This removes all of dedf0ac30
through db7f038f1
,
plus the parts of 497d59180
which were specific to mustek_usb2
2015-11-12 21:10:49 -05:00
Jan Hauffa
3479acf538
Merge mustek_usb2_reflective/transparent.c into mustek_usb2_high.c.
2015-11-08 16:54:45 -05:00
Jan Hauffa
c9516d5365
Merge Reflective_Reset, Transparent_Reset, and MustScanner_Prepare into new function MustScanner_Reset.
2015-11-08 16:54:44 -05:00
Jan Hauffa
ccce2d4a9a
Further cleanup of mustek_usb2.c.
2015-11-08 16:54:44 -05:00
Jan Hauffa
a6b15f18cc
Break remaining long lines.
2015-11-08 16:54:44 -05:00
Jan Hauffa
25242ff9c8
Clean up mustek_usb2_high.c.
2015-11-08 16:54:44 -05:00
Jan Hauffa
d7b4e02780
Use SANE_Status and SANE_TRUE/SANE_FALSE consistently.
2015-11-08 16:54:44 -05:00
Jan Hauffa
3c87b646b5
First attempt at merging Asic_SetCalibrate into Asic_SetWindow.
2015-11-08 16:54:43 -05:00
Jan Hauffa
c1f22ef9a9
Clean up Asic_SetCalibrate, make Asic_SetCalibrate and Asic_SetWindow more similar.
2015-11-08 16:54:43 -05:00
Jan Hauffa
3cd05dacca
Refactoring the smaller high level ASIC functions.
2015-11-08 16:54:43 -05:00
Jan Hauffa
6d5a5123ea
Remove whitespace at the end of debug output lines.
2015-11-08 16:54:42 -05:00
Jan Hauffa
ca1e0db16f
Remove unused code and fix indentation in mustek_usb2_high.c.
2015-11-08 16:54:42 -05:00
Jan Hauffa
78863d13de
Remove redundant typecasts.
2015-11-08 16:54:41 -05:00
Jan Hauffa
cf6c88bfd1
Try to reduce differences between mustek_usb2_reflective.c and mustek_usb2_transparent.c, part 1.
2015-11-08 16:54:41 -05:00
Jan Hauffa
972fc54793
Move some code that was duplicated in mustek_usb2_transparent.c and mustek_usb2_reflective.c to mustek_usb2_high.c.
2015-11-08 16:54:41 -05:00
Jan Hauffa
ce6d7010d3
Pixel flavor is never PF_WhiteIs0, so the associated code can be removed.
2015-11-08 16:54:41 -05:00
Jan Hauffa
8821c2882f
First attempt at cleaning up mustek_usb2_asic.c.
2015-11-08 16:54:40 -05:00
Jan Hauffa
30087b3f43
Avoid some unorthodox language constructs.
2015-11-08 16:54:40 -05:00
Jan Hauffa
030c7fa122
Remove redundant code from mustek_usb2_high.c.
2015-11-08 16:54:40 -05:00
Jan Hauffa
21be236e84
Remove unused definitions from mustek_usb2_asic.h.
2015-11-08 16:54:40 -05:00
Jan Hauffa
d1851a6512
Remove some particularly pointless comments, reduce size of block comments.
2015-11-08 16:54:40 -05:00
Jan Hauffa
047631050c
Remove pointless indirection.
2015-11-08 16:54:39 -05:00
Jan Hauffa
dedf0ac30d
Remove unused global variable g_pDeviceFile and associated logic.
2015-11-08 16:54:39 -05:00
Henning Geinitz
6714d97cee
Removed typedefs for DWORD, WORD and so on. Used int, unsigned short,
...
... directly in the code.
2005-10-16 16:37:13 +00:00
Henning Geinitz
8561c6a6bd
Added mustek_usb backend which supports the Mustek BearPaw 2448 TA Pro. Changes
...
of the code before inclusion to CVS can be found in
doc/mustek_usb2/mustek_usb2.CHANGES.
2005-10-03 13:27:03 +00:00