pixma: add comment for last merge

merge-requests/540/head
Rolf Bensch 2020-09-25 16:38:38 +02:00
rodzic e80612275e
commit 9db8fc305e
1 zmienionych plików z 4 dodań i 1 usunięć

Wyświetl plik

@ -947,7 +947,10 @@ handle_interrupt (pixma_t * s, int timeout)
/* some scanners provide additional information:
* document type in buf[6] 01=Document; 02=Photo; 03=Auto Scan
* ADF status in buf[8] 01 = ADF empty; 02 = ADF filled
* ADF orientation in buf[16] 01=Portrait; 02=Landscape */
* ADF orientation in buf[16] 01=Portrait; 02=Landscape
*
* ToDo: maybe this if isn't needed
*/
if (s->cfg->pid == TR4500_PID || s->cfg->pid == MX340_PID)
{
s->events |= (buf[6] & 0x0f) << 12;