hide 'warming up' and 'hw locked' devices

merge-requests/1/head
m. allan noah 2009-05-28 12:27:20 -04:00
rodzic 006d5c4197
commit 89d170c314
2 zmienionych plików z 11 dodań i 1 usunięć

Wyświetl plik

@ -1,3 +1,6 @@
2009-05-28 m. allan noah <kitno455 at gmail dot com>
* backend/pnm.c: hide 'warming up' and 'hw locked' 'devices'
2009-05-26 m. allan noah <kitno455 at gmail dot com>
* backend/canon.c: clamp film type to allowed range (bug #311685)

Wyświetl plik

@ -558,7 +558,14 @@ SANE_Status
sane_get_devices (const SANE_Device *** device_list, SANE_Bool local_only)
{
static const SANE_Device *devlist[] = {
dev + 0, dev + 1, dev + 2, dev + 3, 0
dev + 0, dev + 1,
#ifdef SANE_STATUS_HW_LOCKED
dev + 2,
#endif
#ifdef SANE_STATUS_WARMING_UP
dev + 3,
#endif
0
};
DBG (2, "sane_get_devices: local_only = %d\n", local_only);