summaryrefslogtreecommitdiff
path: root/backend/mustek_usb2_asic.c
diff options
context:
space:
mode:
Diffstat (limited to 'backend/mustek_usb2_asic.c')
-rw-r--r--backend/mustek_usb2_asic.c14
1 files changed, 6 insertions, 8 deletions
diff --git a/backend/mustek_usb2_asic.c b/backend/mustek_usb2_asic.c
index b31c749..039ffa1 100644
--- a/backend/mustek_usb2_asic.c
+++ b/backend/mustek_usb2_asic.c
@@ -17,9 +17,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.
@@ -1674,7 +1672,7 @@ LLFMotorMove (PAsic chip, LLF_MOTORMOVE * LLF_MotorMove)
MotorMoveUnit);
/*Set motor speed unit, for all motor mode,
- //inclue uniform, acc, motor speed of scan */
+ //include uniform, acc, motor speed of scan */
Mustek_SendData (chip, ES01_F6_MorotControl1,
LLF_MotorMove->MotorSpeedUnit | LLF_MotorMove->
MotorSyncUnit);
@@ -1996,7 +1994,7 @@ LLFCalculateMotorTable (LLF_CALCULATEMOTORTABLE * LLF_CalculateMotorTable)
for (i = 0; i < 512; i++)
{
- /* befor scan acc table */
+ /* before scan acc table */
*(LLF_CalculateMotorTable->lpMotorTable + i) =
(unsigned short) ((LLF_CalculateMotorTable->StartSpeed -
LLF_CalculateMotorTable->EndSpeed) * pow (0.09,
@@ -2773,7 +2771,7 @@ SetAFEGainOffset (PAsic chip)
chip->AD.OffsetR);
}
else
- { /* Postive */
+ { /* Positive */
Mustek_SendData (chip, ES01_60_AFE_AUTO_GAIN_OFFSET_RED_LB,
(chip->AD.GainR << 1));
Mustek_SendData (chip, ES01_61_AFE_AUTO_GAIN_OFFSET_RED_HB,
@@ -4315,7 +4313,7 @@ Asic_SetSource (PAsic chip, LIGHTSOURCE lsLightSource)
DBG (DBG_ASIC, "Asic_SetSource: Source is Position\n");
break;
case 4:
- DBG (DBG_ASIC, "Asic_SetSource: Source is Negtive\n");
+ DBG (DBG_ASIC, "Asic_SetSource: Source is Negative\n");
break;
default:
DBG (DBG_ASIC, "Asic_SetSource: Source error\n");
@@ -4726,7 +4724,7 @@ Asic_SetShadingTable (PAsic chip, unsigned short * lpWhiteShading,
DBG (DBG_ASIC, "wValidPixelNumber = %d\n", wValidPixelNumber);
/* clear old Shading table, if it has. */
- /* first 4 element and lastest 5 of Shading table can't been used */
+ /* first 4 element and latest 5 of Shading table can't been used */
wShadingTableSize = (ShadingTableSize (wValidPixelNumber)) * sizeof (unsigned short);
if (chip->lpShadingTable != NULL)
{