kopia lustrzana https://gitlab.com/sane-project/backends
Some cleanup.
rodzic
45d4a7b4ff
commit
fec6141ad1
|
@ -75,11 +75,6 @@
|
||||||
#ifndef __HWDEFS_H__
|
#ifndef __HWDEFS_H__
|
||||||
#define __HWDEFS_H__
|
#define __HWDEFS_H__
|
||||||
|
|
||||||
/*
|
|
||||||
* port definitions
|
|
||||||
*/
|
|
||||||
#define _EPPDATA_PORT 4
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* port modes
|
* port modes
|
||||||
* (WARNING: never change these defines, as they´re used as entries
|
* (WARNING: never change these defines, as they´re used as entries
|
||||||
|
|
|
@ -719,7 +719,7 @@ _LOC int MiscInitPorts( pScanData ps, int port )
|
||||||
ps->IO.pbSppDataPort = (UShort)port;
|
ps->IO.pbSppDataPort = (UShort)port;
|
||||||
ps->IO.pbStatusPort = (UShort)port+1;
|
ps->IO.pbStatusPort = (UShort)port+1;
|
||||||
ps->IO.pbControlPort = (UShort)port+2;
|
ps->IO.pbControlPort = (UShort)port+2;
|
||||||
ps->IO.pbEppDataPort = (UShort)port+_EPPDATA_PORT;
|
ps->IO.pbEppDataPort = (UShort)port+4;
|
||||||
|
|
||||||
return _OK;
|
return _OK;
|
||||||
}
|
}
|
||||||
|
|
Ładowanie…
Reference in New Issue