kopia lustrzana https://gitlab.com/sane-project/backends
genesys: Make sure calib_reg are available before writing into them
rodzic
0e4a2d107a
commit
0781f3fd39
|
@ -3916,6 +3916,9 @@ void CommandSetGl841::init(Genesys_Device* dev) const
|
||||||
// Set analog frontend
|
// Set analog frontend
|
||||||
dev->cmd_set->set_fe(dev, sensor, AFE_INIT);
|
dev->cmd_set->set_fe(dev, sensor, AFE_INIT);
|
||||||
|
|
||||||
|
// FIXME: slow_back_home modifies dev->calib_reg and requires it to be filled
|
||||||
|
dev->calib_reg = dev->reg;
|
||||||
|
|
||||||
// Move home
|
// Move home
|
||||||
dev->cmd_set->slow_back_home(dev, SANE_TRUE);
|
dev->cmd_set->slow_back_home(dev, SANE_TRUE);
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue