Random minor cleanup.

merge-requests/832/merge
Cyp 2024-04-02 19:56:11 +02:00
rodzic 7ab85011fc
commit bc54b0990f
3 zmienionych plików z 4 dodań i 4 usunięć

Wyświetl plik

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

Wyświetl plik

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

Wyświetl plik

@ -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");