backends: say "## copies remaining" to differentiate between pages.

master
Solomon Peachy 10 years ago
parent 46f61742c7
commit 6acc8b553c

@ -621,7 +621,7 @@ top:
if (terminate)
copies = 1;
INFO("Print complete (%d remaining)\n", copies - 1);
INFO("Print complete (%d copies remaining)\n", copies - 1);
if (copies && --copies) {
state = S_IDLE;

@ -146,7 +146,7 @@ int send_data(struct libusb_device_handle *dev, uint8_t endp,
}
len -= num;
buf += num;
// DEBUG("Sent %d (%d remaining) to 0x%x\n", num, len, endp);
// DEBUG("Sent %d (%d copies remaining) to 0x%x\n", num, len, endp);
}
return 0;

@ -484,7 +484,7 @@ top:
if (terminate)
copies = 1;
INFO("Print complete (%d remaining)\n", copies - 1);
INFO("Print complete (%d copies remaining)\n", copies - 1);
if (copies && --copies) {
goto top;

@ -557,7 +557,7 @@ top:
if (terminate)
copies = 1;
INFO("Print complete (%d remaining)\n", copies - 1);
INFO("Print complete (%d copies remaining)\n", copies - 1);
if (copies && --copies) {
state = S_IDLE;

@ -317,7 +317,7 @@ skip_query:
if (terminate)
copies = 1;
INFO("Print complete (%d remaining)\n", copies - 1);
INFO("Print complete (%d copies remaining)\n", copies - 1);
if (copies && --copies) {
state = S_IDLE;

@ -595,7 +595,7 @@ skip_query:
if (terminate)
copies = 1;
INFO("Print complete (%d remaining)\n", copies - 1);
INFO("Print complete (%d copies remaining)\n", copies - 1);
if (copies && --copies) {
state = S_IDLE;

@ -301,7 +301,7 @@ skip_query:
if (terminate)
copies = 1;
INFO("Print complete (%d remaining)\n", copies - 1);
INFO("Print complete (%d copies remaining)\n", copies - 1);
if (copies && --copies) {
state = S_IDLE;

@ -1605,7 +1605,7 @@ static int shinkos2145_main_loop(void *vctx, int copies) {
if (terminate)
copies = 1;
INFO("Print complete (%d remaining)\n", copies - 1);
INFO("Print complete (%d copies remaining)\n", copies - 1);
if (copies && --copies) {
state = S_IDLE;

@ -195,7 +195,7 @@ top:
if (terminate)
copies = 1;
INFO("Print complete (%d remaining)\n", copies - 1);
INFO("Print complete (%d copies remaining)\n", copies - 1);
if (copies && --copies) {
goto top;

Loading…
Cancel
Save