spelling fixes for mustek_usb2 backend

merge-requests/518/head
Peter Marschall 2020-08-28 18:29:16 +02:00
rodzic 9afda64c42
commit 493ed0a533
7 zmienionych plików z 19 dodań i 19 usunięć

Wyświetl plik

@ -635,7 +635,7 @@ Author: Jack Date: 2005/05/13
Routine Description:
set scan parameters
Parameters:
pSetParameters: the information of scaning
pSetParameters: the information of scanning
Return value:
if the operation success
return TRUE

Wyświetl plik

@ -1674,7 +1674,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 +1996,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 +2773,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 +4315,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 +4726,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)
{

Wyświetl plik

@ -308,7 +308,7 @@ RGBColor;
#define DBG_DET 4 /* more detailed information */
#define DBG_FUNC 5 /* start and exits of high level functions */
#define DBG_ASIC 6 /* starts and exits of low level functions */
#define DBG_DBG 10 /* usefull only for tracing bugs */
#define DBG_DBG 10 /* useful only for tracing bugs */
#define DPI_2400 0x8000
@ -1295,7 +1295,7 @@ static STATUS Asic_ReadCalibrationData (PAsic chip, void * pBuffer,
unsigned int dwXferBytes, SANE_Byte bScanBits);
/* Set motor move or not */
static STATUS Asic_SetMotorType (PAsic chip, SANE_Bool isMotorMove, SANE_Bool isUniformSpeed);
/* Move Motor Forward or Backword */
/* Move Motor Forward or Backward */
static STATUS Asic_MotorMove (PAsic chip, SANE_Bool isForward, unsigned int dwTotalSteps);
/* Move Motor to Home. */
/* If isTA is TRUE, move TA to home, else move Lamp to home */

Wyświetl plik

@ -3034,7 +3034,7 @@ MustScanner_ReadDataFromScanner (void * dummy)
return NULL;
}
/*has read in memroy Buffer */
/*has read in memory Buffer */
wReadImageLines += wScanLinesThisBlock;
AddScannedLines (wScanLinesThisBlock);
@ -3203,10 +3203,10 @@ ModifyLinePoint (SANE_Byte * lpImageData,
/**********************************************************************
Author: Jack Date: 2005/05/15
Routine Description:
Modifiy the image data
Modify the image data
Parameters:
A: the input the image data
B: the input the iamge data
B: the input the image data
Return value:
the modified data
***********************************************************************/

Wyświetl plik

@ -141,10 +141,10 @@ Reflective_Reset ()
/**********************************************************************
Author: Jack Date: 2005/05/13
Routine Description:
get the suggest parameter of scaning
get the suggest parameter of scanning
Parameters:
pTarget: the information of scaning
pSuggest: suggest parameter of scaning
pTarget: the information of scanning
pSuggest: suggest parameter of scanning
Return value:
if the operation is success
return TRUE

Wyświetl plik

@ -133,10 +133,10 @@ Transparent_Reset ()
/**********************************************************************
Author: Jack Date: 2005/05/13
Routine Description:
get suggest parameter of scaning
get suggest parameter of scanning
Parameters:
pTarget: the information of scaning
pSuggest: the suggest parameter of scaning
pTarget: the information of scanning
pSuggest: the suggest parameter of scanning
Return value:
if operation is success
return TRUE

Wyświetl plik

@ -10,7 +10,7 @@ V 1.0-9 (2005-10-02)
- Removed global variables in mustek_usb2.c:
Deleted the following variables (not necessary):
m_bIsOpen
Moved the following varaiables to Mustek_Scanner structure:
Moved the following variables to Mustek_Scanner structure:
m_bIsScanning
m_bIsReading
setpara
@ -104,7 +104,7 @@ V 1.0-4 (2005-09-27)
- Changed backend name to mustek_usb2.
- Used dos2unix to change dos line endings to unix.
- Added mustek_usb2.TODO.
- Changed several occurences of "//" to "/* */".
- Changed several occurrences of "//" to "/* */".
- Used DBG instead of XDBG.
- Defined DBG levels in mustek_usb2_asic_low.h.
- Changed code to use sanei_usb instead of home-grown usb functions.