kopia lustrzana https://gitlab.com/sane-project/backends
epson2: improve debug output
rodzic
83b9767539
commit
e855744b5c
|
@ -333,7 +333,7 @@ esci_set_gamma_table(Epson_Scanner * s)
|
|||
|
||||
/* Print the gamma tables before sending them to the scanner */
|
||||
|
||||
if (DBG_LEVEL >= 10) {
|
||||
if (DBG_LEVEL >= 16) {
|
||||
int c, i, j;
|
||||
|
||||
for (c = 0; c < 3; c++) {
|
||||
|
@ -347,7 +347,8 @@ esci_set_gamma_table(Epson_Scanner * s)
|
|||
s->gamma_table[c][i + j]);
|
||||
strcat(gammaValues, newValue);
|
||||
}
|
||||
DBG(11, "gamma table[%d][%d] %s\n", c, i,
|
||||
|
||||
DBG(16, "gamma table[%d][%d] %s\n", c, i,
|
||||
gammaValues);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -29,6 +29,7 @@
|
|||
* 20 usb cmd counters
|
||||
* 18 sane_read
|
||||
* 17 setvalue, getvalue, control_option
|
||||
* 16 gamma table
|
||||
* 15 e2_send, e2_recv calls
|
||||
* 13 e2_cmd_info_block
|
||||
* 12 epson_cmd_simple
|
||||
|
@ -1752,8 +1753,9 @@ change_source(Epson_Scanner *s, SANE_Int optindex, char *value)
|
|||
s->val[OPT_ADF_MODE].w = 0;
|
||||
}
|
||||
|
||||
DBG(1, "adf activated (%d %d)\n", s->hw->use_extension,
|
||||
s->hw->duplex);
|
||||
DBG(1, "adf activated (ext: %d, duplex: %d)\n",
|
||||
s->hw->use_extension,
|
||||
s->hw->duplex);
|
||||
|
||||
} else if (strcmp(TPU_STR, value) == 0 || strcmp(TPU_STR2, value) == 0) {
|
||||
if (strcmp(TPU_STR, value) == 0) {
|
||||
|
|
Ładowanie…
Reference in New Issue