Fix SANE_DEBUG_SANEI_PV8630

merge-requests/1/head
Mattias Ellert 2005-09-22 19:02:25 +00:00
rodzic 111fe1fedd
commit 21f94b0264
6 zmienionych plików z 16 dodań i 0 usunięć

Wyświetl plik

@ -1,3 +1,9 @@
2005-09-22 Mattias Ellert <mattias.ellert@tsl.uu.se>
* backend/hp4200.c backend/umax.c backend/umax1220u.c
include/sane/sanei_pv8630.h sanei/sanei_pv8630.c:
Fix SANE_DEBUG_SANEI_PV8630
2005-09-19 Frank Zago <sane at zago.net>
* backend/dc210.c backend/leo.c backend/matsushita.c

Wyświetl plik

@ -2387,6 +2387,7 @@ sane_init (SANE_Int * version_code, SANE_Auth_Callback authorize)
}
sanei_usb_init ();
sanei_pv8630_init ();
fp = sanei_config_open (HP4200_CONFIG_FILE);
if (!fp)

Wyświetl plik

@ -6007,6 +6007,7 @@ SANE_Status sane_init(SANE_Int *version_code, SANE_Auth_Callback authorize)
#ifdef UMAX_ENABLE_USB
sanei_usb_init();
sanei_pv8630_init();
#endif
fp = sanei_config_open(UMAX_CONFIG_FILE);

Wyświetl plik

@ -598,6 +598,7 @@ sane_init (SANE_Int * version_code, SANE_Auth_Callback authorize)
*version_code = SANE_VERSION_CODE (V_MAJOR, V_MINOR, BUILD);
sanei_usb_init ();
sanei_pv8630_init ();
fp = sanei_config_open (UMAX_CONFIG_FILE);
if (!fp)

Wyświetl plik

@ -77,6 +77,7 @@ typedef enum
}
SANEI_PV_Index;
extern void sanei_pv8630_init (void);
extern SANE_Status sanei_pv8630_write_byte (int fd, SANEI_PV_Index index,
SANE_Byte byte);
extern SANE_Status sanei_pv8630_read_byte (int fd, SANEI_PV_Index index,

Wyświetl plik

@ -61,6 +61,12 @@
#define DBG_error 1
#define DBG_info 5
void
sanei_pv8630_init (void)
{
DBG_INIT();
}
/* Write one control byte */
SANE_Status
sanei_pv8630_write_byte (int fd, SANEI_PV_Index index, SANE_Byte byte)