Removed illegal character / removed declaration of bqelements

DEVEL_2_0_BRANCH-1
Oliver Schwartz 2002-04-10 21:45:53 +00:00
rodzic 83d52e9d36
commit c9875f8a9d
2 zmienionych plików z 9 dodań i 10 usunięć

Wyświetl plik

@ -952,14 +952,14 @@ static SANE_Status send_diagnostic (SnapScan_Scanner *pss)
u_char cmd[] = {SEND_DIAGNOSTIC, 0x04, 0, 0, 0, 0}; /* self-test */
SANE_Status status;
if (pss->pdev->model == PRISA620S /* GP added */
if (pss->pdev->model == PRISA620S
||
        pss->pdev->model == VUEGO610S    /* SJU added */
        ||
        pss->pdev->model == SNAPSCAN1236)  
pss->pdev->model == VUEGO610S
||
pss->pdev->model == SNAPSCAN1236)
{
return SANE_STATUS_GOOD;
}
}
DBG (DL_CALL_TRACE, "%s\n", me);
status = snapscan_cmd (pss->pdev->bus, pss->fd, cmd, sizeof (cmd), NULL, NULL);
@ -1177,8 +1177,8 @@ static SANE_Status download_firmware(SnapScan_Scanner * pss)
/*
* $Log$
* Revision 1.13 2002/04/10 21:27:31 oliverschwartz
* make bqelements static, don't send diagnostic cmd to Snapscan1236
* Revision 1.14 2002/04/10 21:45:52 oliverschwartz
* Removed illegal character / removed declaration of bqelements
*
* Revision 1.28 2002/04/10 21:01:02 oliverschwartz
* Disable send_diagnostic() for 1236s

Wyświetl plik

@ -71,7 +71,6 @@ struct usb_busy_queue {
};
static struct usb_busy_queue *bqhead,*bqtail;
extern int bqelements;
static int enqueue_bq(int fd,const void *src, size_t src_size);
static void dequeue_bq(void);
static int is_queueable(const char *src);
@ -85,8 +84,8 @@ static SANE_Status usb_cmd(int fd, const void *src, size_t src_size,
/*
* $Log$
* Revision 1.4 2001/12/17 22:51:50 oliverschwartz
* Update to snapscan-20011212 (snapscan 1.4.3)
* Revision 1.5 2002/04/10 21:45:53 oliverschwartz
* Removed illegal character / removed declaration of bqelements
*
* Revision 1.10 2001/12/09 23:06:45 oliverschwartz
* - use sense handler for USB if scanner reports CHECK_CONDITION