kopia lustrzana https://gitlab.com/sane-project/backends
Merge branch 'hp5400-fix-option-warning-bug' into 'master'
hp5400: initialize options bit mask to avoid compiler warning and glitchy operation See merge request sane-project/backends!496merge-requests/244/head
commit
f29bbab5fa
|
@ -165,6 +165,7 @@ GetSensors(THWParams * pHWParams, uint16_t *sensorMap)
|
||||||
* Max 10 iterations for safety.
|
* Max 10 iterations for safety.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
*sensorMap = 0;
|
||||||
uint16_t thisSensorMap = 0;
|
uint16_t thisSensorMap = 0;
|
||||||
size_t iterCount = 10;
|
size_t iterCount = 10;
|
||||||
do
|
do
|
||||||
|
|
Ładowanie…
Reference in New Issue