kopia lustrzana https://gitlab.com/sane-project/backends
hp5400: initialize options bit mask to avoid compiler warning and glitchy operation
This was picked up as a compiler warning in Ubuntu build and was a real functional issue.merge-requests/244/head
rodzic
21a3bfad71
commit
37bc4598a2
|
@ -165,6 +165,7 @@ GetSensors(THWParams * pHWParams, uint16_t *sensorMap)
|
|||
* Max 10 iterations for safety.
|
||||
*
|
||||
*/
|
||||
*sensorMap = 0;
|
||||
uint16_t thisSensorMap = 0;
|
||||
size_t iterCount = 10;
|
||||
do
|
||||
|
|
Ładowanie…
Reference in New Issue