kopia lustrzana https://gitlab.com/sane-project/backends
Random minor cleanup.
rodzic
7ab85011fc
commit
bc54b0990f
|
@ -83,8 +83,8 @@ gl124_init_registers (Genesys_Device * dev)
|
|||
dev->reg.init_reg(0x05, 0x00);
|
||||
|
||||
if(dev->model->sensor_id == SensorId::CIS_CANON_LIDE_120) {
|
||||
dev->reg.init_reg(0x06, 0x50);
|
||||
dev->reg.init_reg(0x07, 0x00);
|
||||
dev->reg.init_reg(0x06, 0x50);
|
||||
dev->reg.init_reg(0x07, 0x00);
|
||||
} else {
|
||||
dev->reg.init_reg(0x03, 0x50 & ~REG_0x03_AVEENB);
|
||||
dev->reg.init_reg(0x06, 0x50 | REG_0x06_GAIN4);
|
||||
|
|
|
@ -290,4 +290,4 @@ static constexpr RegAddr REG_TRUEB = 0x112;
|
|||
} // namespace gl124
|
||||
} // namespace genesys
|
||||
|
||||
#endif // BACKEND_GENESYS_GL843_REGISTERS_H
|
||||
#endif // BACKEND_GENESYS_GL124_REGISTERS_H
|
||||
|
|
|
@ -109,7 +109,7 @@ static scsiblk inquiry = {
|
|||
static void
|
||||
usage (char *msg)
|
||||
{
|
||||
fprintf (stderr, "Usage: %s [-hvqf] [devname ...]\n", prog_name);
|
||||
fprintf (stderr, "Usage: %s [-hvqfp] [devname ...]\n", prog_name);
|
||||
fprintf (stderr, "\t-h: print this help message\n");
|
||||
fprintf (stderr, "\t-v: be more verbose (can be used multiple times)\n");
|
||||
fprintf (stderr, "\t-q: be quiet (print only devices, no comments)\n");
|
||||
|
|
Ładowanie…
Reference in New Issue