spelling fixes for u12 backend

merge-requests/540/head
Peter Marschall 2020-08-28 18:12:00 +02:00
rodzic f7ad041682
commit a307ba8ccf
7 zmienionych plików z 12 dodań i 12 usunięć

Wyświetl plik

@ -1,5 +1,5 @@
/* @file u12-ccd.c
* @brief here we have the whole code to intialize the CCD and DAC stuff
* @brief here we have the whole code to initialize the CCD and DAC stuff
*
* based on sources acquired from Plustek Inc.
* Copyright (c) 2003-2004 Gerhard Jaeger <gerhard@gjaeger.de>

Wyświetl plik

@ -185,10 +185,10 @@ static void u12if_shutdown( U12_Device *dev )
DBG( _DBG_INFO, "Shutdown done.\n" );
}
/** This function checks wether a device, described by a given
/** This function checks whether a device, described by a given
* string(vendor and product ID), is supported by this backend or not
*
* @param usbIdStr - sting consisting out of product and vendor ID
* @param usbIdStr - string consisting out of product and vendor ID
* format: "0xVVVV-0xPPPP" VVVV = Vendor ID, PPP = Product ID
* @returns; SANE_TRUE if supported, SANE_FALSE if not
*/

Wyświetl plik

@ -589,7 +589,7 @@ static SANE_Status u12image_SetupScanSettings( U12_Device *dev, ImgDef *img )
}
}
/* now assign the buffer pointers for image aquisition
/* now assign the buffer pointers for image acquisition
*/
dev->scan.p48BitBuf.pb = NULL;

Wyświetl plik

@ -402,7 +402,7 @@ static SANE_Byte u12io_DataFromRegister( U12_Device *dev, SANE_Byte reg )
static void u12io_CloseScanPath( U12_Device *dev )
{
DBG( _DBG_INFO, "u12io_CloseScanPath()\n" );
/* FIXME: Probaly not needed */
/* FIXME: Probably not needed */
#if 0
u12io_RegisterToScanner( dev, 0xff );
#endif

Wyświetl plik

@ -108,7 +108,7 @@ static void u12map_CheckGammaSettings( U12_Device *dev )
}
}
/** adjust acording to brightness and contrast
/** adjust according to brightness and contrast
*/
static void u12map_Adjust( U12_Device *dev, int which, SANE_Byte *buf )
{

Wyświetl plik

@ -49,7 +49,7 @@
* <hr>
*/
/*************************** some definitons *********************************/
/*************************** some definitions *********************************/
#define _BACKSTEPS 120
#define _FORWARDSTEPS 120

Wyświetl plik

@ -2,7 +2,7 @@
* @brief SANE backend for USB scanner, based on Plusteks' ASIC P98003 and
* the GeneSys Logic GL640 parallel-port to USB bridge.
*
* Based on source aquired from Plustek<br>
* Based on source acquired from Plustek<br>
* Copyright (c) 2003-2004 Gerhard Jaeger <gerhard@gjaeger.de><br>
*
* History:
@ -731,7 +731,7 @@ static SANE_Bool decodeVal( char *src, char *opt,
if( tmp ) {
/* on success, compare wiht the given one */
/* on success, compare with the given one */
if( 0 == strcmp( tmp, opt )) {
DBG( _DBG_SANE_INIT, "Decoding option >%s<\n", opt );
@ -779,7 +779,7 @@ static SANE_Bool decodeVal( char *src, char *opt,
return SANE_FALSE;
}
/** function to retrive the device name of a given string
/** function to retrieve the device name of a given string
* @param src - string that keeps the option name to check src for
* @param dest - pointer to the string, that should receive the detected
* devicename
@ -840,7 +840,7 @@ static SANE_Status attach( const char *dev_name,
if( NULL == dev )
return SANE_STATUS_NO_MEM;
/* assign all the stuff we need fo this device... */
/* assign all the stuff we need for this device... */
memset(dev, 0, sizeof (*dev));
dev->fd = -1;
@ -916,7 +916,7 @@ static void init_config_struct( pCnfDef cnf )
cnf->adj.bgamma = 1.0;
}
/** intialize the backend
/** initialize the backend
*/
SANE_Status sane_init( SANE_Int *version_code, SANE_Auth_Callback authorize )
{