selphy: Make it a little more verbose (INFO instead of DEBUG)

This commit is contained in:
Solomon Peachy 2013-07-01 07:21:44 -04:00
parent 6c0e25ae4b
commit 4f90bfec12
1 changed files with 8 additions and 9 deletions

View File

@ -35,7 +35,7 @@
#include <fcntl.h>
#include <signal.h>
#define VERSION "0.50"
#define VERSION "0.51"
#define URI_PREFIX "selphy://"
#include "backend_common.c"
@ -694,14 +694,13 @@ top:
switch(state) {
case S_IDLE:
INFO("Printing started, waiting for printer idle\n");
if (!fancy_memcmp(rdbuf, printers[printer_type].init_readback, READBACK_LEN, paper_code_offset, paper_code)) {
state = S_PRINTER_READY;
}
break;
case S_PRINTER_READY:
DEBUG("Sending init sequence (%d bytes)\n", header_len);
INFO("Printing started\n");
INFO("Sending init sequence\n");
/* Send printer init */
if ((ret = send_data(dev, endp_down, header, header_len)))
@ -716,9 +715,9 @@ top:
break;
case S_PRINTER_READY_Y:
if (bw_mode)
DEBUG("Sending BLACK plane\n");
INFO("Sending BLACK plane\n");
else
DEBUG("Sending YELLOW plane\n");
INFO("Sending YELLOW plane\n");
if ((ret = send_data(dev, endp_down, plane_y, plane_len)))
goto done_claimed;
@ -734,7 +733,7 @@ top:
}
break;
case S_PRINTER_READY_M:
DEBUG("Sending MAGENTA plane\n");
INFO("Sending MAGENTA plane\n");
if ((ret = send_data(dev, endp_down, plane_m, plane_len)))
goto done_claimed;
@ -747,7 +746,7 @@ top:
}
break;
case S_PRINTER_READY_C:
DEBUG("Sending CYAN plane\n");
INFO("Sending CYAN plane\n");
if ((ret = send_data(dev, endp_down, plane_c, plane_len)))
goto done_claimed;
@ -761,7 +760,7 @@ top:
break;
case S_PRINTER_DONE:
if (footer_len) {
DEBUG("Sending cleanup sequence\n");
INFO("Cleaning up\n");
if ((ret = send_data(dev, endp_down, footer, footer_len)))
goto done_claimed;