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!496
merge-requests/244/head
Ralph Little 2020-07-26 17:19:15 +00:00
commit f29bbab5fa
1 zmienionych plików z 1 dodań i 0 usunięć

Wyświetl plik

@ -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